Share feedback, ideas and get community help

Updated 3 months ago

AWS Bucket Issues

Hi, guys. and I are trying to connect typebot to the AWS S3 service, but we are unable to store the objects. Our bucket policies are:

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadWriteAccess",
"Effect": "Allow",
"Principal": "", "Action": "s3:",
"Resource": [
"arn:aws:s3:::<bucket-name>",
"arn:aws:s3:::<bucket-name>/" ] } ]}And our CORS policies are:[ { "AllowedHeaders": [ ""
],
"AllowedMethods": [
"PUT",
"POST"
],
"AllowedOrigins": [
"*"
],
"ExposeHeaders": [
"ETag"
],
"MaxAgeSeconds": 3000
}
]

The ACLs are disabled.

Does anyone know what could be preventing the access?
3
R
t
B
29 comments
Maybe this will work
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadWriteAccess",
"Effect": "Allow",
"Principal": "", "Action": [ "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::<bucket-name>", "arn:aws:s3:::<bucket-name>/public/"
]
}
]
}
@tecmusti Bucket policy or Access Point policy ?
@Rafael Roque Bucket Policy
@tecmusti why did you get this error? Any suggestions?

p.s: I'm using this endpoint http://s3-accesspoint.sa-east-1.amazonaws.com/
Attachment
image.png
check your browser console logs, the issue will most likely be present there
@Rafael Roque I really don't know, you should check logs.
@tecmusti
Attachment
image.png
HEAD, POST, DELETE
Attachment
image.png
@tecmusti @Baptiste
Attachment
image.png
please, give me suggestion
Maybe s3 configuration (.env) is wrong
Yes, provide your S3_... env values
There must be something wrong here
@Baptiste @tecmusti These are the environment variables for our S3, using Minio in a separate VM. Another detail is that I did the same test with AWS S3 and the same problem appears
Attachment
image.png
@Rafael Roque S3_ENDPOINT should contain your region. s3.sa-east-1.amazonaws.com and S3_REGION should be sa-east-1 if your region is sa-east-1
@tecmusti @Baptiste
Attachment
image.png
us-east-1 or sa-east-1 ?
@tecmusti please give me suggestion ?
In your console region seems us-east-1 but your configuration sa-east-1
@tecmusti @Baptiste It worked here. Thank you so much! πŸ™
Add a reply
Sign up and join the conversation on Discord