Solution for Amazon S3 Error “AccessControlListNotSupported”

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

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

Find object ownership and click edit

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

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

Hope this helps😁

Happy coding,

Az 👨🏾‍💻


Continue Learning