The open blogging platform. Say no to algorithms and paywalls.

Solution for Amazon S3 Error “AccessControlListNotSupported”

Here’s how I resolved the “AccessControlListNotSupported” error in Amazon S3

image

I was getting this error when uploading to the S3 bucket when using a Github Action: (AccessControlListNotSupported) when calling the PutObject operation: The bucket does not allow ACLs. Below is how I resolved it

Find your S3 bucket and click permissions

image

Find object ownership and click edit

image

Click ACLs Enabled as this gives power to other accounts to import objects. Please beware of the security implications.

image

image

Save your changes and you should be able to upload from outside sources now

Hope this helps😁

Happy coding,

Az 👨🏾‍💻

Credits




Continue Learning