Error AccessControlListNotSupported when trying to create a bucket ACL in AWS
System Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.
Introduction
AccessControlListNotSupported on S3 usually means you are trying to apply an ACL to a bucket or object in a configuration where ACLs have effectively been turned off. The most common cause is Object Ownership being set to BucketOwnerEnforced, which disables ACL-based access control. The fix is usually to stop using ACLs and move the permission model to bucket policies, IAM, or a different Object Ownership setting if ACLs are still truly required.
Why This Error Happens
Historically, S3 supported access control through ACLs and through bucket policies. Modern AWS guidance strongly prefers policies. When a bucket uses Object Ownership with BucketOwnerEnforced, ACLs are disabled and ownership is simplified so the bucket owner owns all objects.
In that mode, attempts to create or modify ACLs fail with AccessControlListNotSupported.
That is why the error is often not about a missing permission to write the ACL. It is about the bucket configuration saying ACLs are not part of the access model at all.
A Typical Failing Example
For example, this kind of Boto3 code can fail when ACLs are disabled:
The request shape is valid, but the bucket's ownership mode rejects the ACL operation.
The Preferred Fix: Stop Using ACLs
If the bucket is already using BucketOwnerEnforced, the usual fix is to remove ACL logic from your code and express access through bucket policy or IAM instead.
For example, a bucket policy can allow reads to a specific principal or account without any ACL calls at all.
This is the model AWS wants most modern S3 applications to use.
If You Really Need ACLs
Sometimes you are integrating with an older workflow that still depends on ACLs. In that case, you need to change the bucket's Object Ownership configuration away from BucketOwnerEnforced.
That is an architectural decision, not just a code fix. If you change ownership behavior to re-enable ACL support, make sure the team understands the consequences for object ownership and permission management.
In other words, do not toggle that setting casually just to make one old SDK call stop failing.
Bucket Creation Workflows
This error often appears in infrastructure code that still passes canned ACL arguments automatically during bucket creation. The fix there is usually to remove the ACL option entirely.
For example, in infrastructure code or SDK calls, avoid patterns that force ACL configuration unless you know the bucket is meant to use ACLs.
That cleanup is often all that is needed after migrating to the newer S3 ownership model.
Diagnose Before Changing Permissions
A good troubleshooting sequence is:
- inspect the bucket's Object Ownership setting
- verify whether the code path is calling
put_bucket_aclor setting object ACLs implicitly - decide whether ACLs are truly required or just leftover legacy behavior
- move access control into IAM and bucket policy if possible
This avoids the common mistake of trying random permission tweaks when the problem is really a storage-ownership model mismatch.
Common Pitfalls
- Treating
AccessControlListNotSupportedas if it were a missing IAM permission instead of an ACL-disabled bucket configuration. - Keeping legacy ACL calls in code after migrating the bucket to
BucketOwnerEnforced. - Re-enabling ACL support without understanding why the bucket ownership model was changed in the first place.
- Mixing ACL-based and policy-based access models inconsistently across the same application.
- Assuming bucket creation defaults are harmless when infrastructure tooling is silently adding canned ACL arguments.
Summary
- '
AccessControlListNotSupportedusually means the bucket is configured not to use ACLs.' - The most common trigger is Object Ownership set to
BucketOwnerEnforced. - The preferred fix is to remove ACL usage and rely on IAM and bucket policies instead.
- Only re-enable ACLs if your architecture genuinely requires them.
- Diagnose the bucket ownership mode first before changing code or permissions blindly.
Related reading
- Error Cannot find module 'aws-sdk' in NodeJS AWS Lambda Function
- ERROR Cannot uninstall 'ruamel-yaml' while creating docker image for azure ML ACI deployment
- Error certificate signed by unknown authority after switching GCP project
- Error con Pods in Azure k8s Volume capability not supported
- Error dictionary update sequence element 0 has length 1; 2 is required on Django 1.4
- Error Expected 2D array, got 1D array instead Using OneHotEncoder
- Error after upgrading pip cannot import name 'main
- ERROR Android emulator gets killed in Android Studio
System design interview problems on this topic
- Design Dropbox: solution and walkthrough
- Design a Global Content Distribution Network: solution and walkthrough
- Design a Serverless Architecture Framework: solution and walkthrough
- Design Youtube or Netflix: solution and walkthrough

System Design Fundamentals
Build a strong foundation in designing scalable, reliable distributed systems.
View the courseSystem Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.