Hi-
I'm trying to upload file to s3 using the s3 uploader and the fileInput component. I assume, I have provided all the necessary permissions. But still I'm getting error - 'Error uploading file'. When i tried with the FileInput component, its throwing an error saying Failed to construct 'URL': Invalid URL.
S3 resource:
IAM Policy:
CORD Configuration is ike
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"PUT",
"POST",
"DELETE"
],
"AllowedOrigins": [
"https://*.retool.com"
],
"ExposeHeaders": []
},
{
"AllowedHeaders": [],
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
Can anyone help here
Thanks