Hi everyone,
I'm using the retool template for the S3 file uploader. I created a new retool S3 resource and replaced the demo 3 resource with my new S3 resource.
Listing and downloading files in the bucket works fine, but the file upload doesn't; when I check the network response it simply says '"Access Denied"'.
Locally, I wrote a small python script to try the data upload and that way and it actually works. Why wouldn't it work through the retool dashboard?? I also made sure to set the cors according to this retool community post:
[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"PUT",
"POST",
"DELETE"
],
"AllowedOrigins": [
"https://*.retool.com"
],
"ExposeHeaders": []
},
{
"AllowedHeaders": [],
"AllowedMethods": [
"GET"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": []
}
]
Please help!
Many thanks,
Fina