S3 Access Denied (403 Forbidden) Error
Quick answer
An S3 403 is an implicit or explicit deny: check the identity policy, bucket policy, Block Public Access, object ownership/ACLs, KMS key permissions, VPC endpoint policy and organization SCPs.
Most likely fix: Read the error message
How to fix it
Try these in order — the most common fix is first.
1. Read the error message
- It may name the policy type: SCP, VPC endpoint policy, permissions boundary, resource-based or identity-based
- 'explicit deny' means remove or adjust a Deny; 'no ... policy allows' means add an Allow
Did this fix it?2. Fix IAM and bucket policy
- Bucket actions (ListBucket) use arn:aws:s3:::bucket; object actions (GetObject, PutObject) use arn:aws:s3:::bucket/*
- Check the bucket policy for Deny statements and conditions
Did this fix it?3. Check Block Public Access and ownership
- S3 > bucket > Permissions: Block Public Access and Object Ownership
- With Bucket owner enforced, ACLs are disabled
Did this fix it?4. Check KMS
- The caller needs kms:Decrypt (and GenerateDataKey for uploads) on the key
Did this fix it?5. Check network and org policies
- VPC endpoint policy, Organizations SCP/RCP
- Use IAM policy simulator or CloudTrail to find the denying policy
Did this fix it?
Symptoms
GetObject, PutObject or ListBucket returns AccessDenied / 403 Forbidden.
Why it happens
- Identity-based policy lacks the s3 action or resource ARN (bucket vs bucket/*)
- Bucket policy denies or doesn't allow the principal
- Block Public Access is on
- Object owned by another account (ACLs/Object Ownership)
- Objects encrypted with a KMS key you can't use
- VPC endpoint policy or SCP denies the request
- Requester Pays bucket
This guide also covers
- s3 access denied
- aws s3 403 forbidden
- s3 bucket policy access denied
- s3 getobject access denied
Still not working?
If AWS keeps failing, you're not alone. See every AWS problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
Other AWS errors
- AWS Unexpected Charges: Why Is My AWS Bill So High?
- AWS Charges After Free Tier: Why Am I Being Billed?
- AWS Account Suspended: How to Reactivate It
- EC2 SSH Connection Timed Out
- EC2 SSH 'Permission denied (publickey)' and Key File Errors
- AWS 'Not Authorized to Perform' IAM Error
- Lambda 'Task timed out after 3.00 seconds' Error
- CloudFront 403 Error: The Request Could Not Be Satisfied