async-labs / saas

Build your own SaaS business with SaaS boilerplate. Productive stack: React, Material-UI, Next, MobX, WebSockets, Express, Node, Mongoose, MongoDB. Written with TypeScript.
https://saas-app.async-await.com
MIT License
4.06k stars 674 forks source link

4-begin avatar upload (the bucket does not accept acls) #206

Open mrrobotoe opened 9 months ago

mrrobotoe commented 9 months ago

I was receiving an error 400 when attempting to upload a file to the s3 bucket. After researching, the error message indicated "this bucket does not accept acls".

To enable ACLS I did the following in the S3 bucket:

permissions > object ownership > ACLs enabled > save.

This then allowed me to have a successful upload of the avatar pic.

tima101 commented 9 months ago

@mrrobotoe Thanks. I will test this issue after this upcoming update: https://github.com/async-labs/saas/issues/203

tima101 commented 9 months ago

@mrrobotoe We pushed code and book content updates. Please check if you still have this issue. Thanks.