# S3 Access Denied (403 Forbidden)

> Decode an Amazon S3 Access Denied 403: explicit vs implicit deny, the policy type in the message, Block Public Access, KMS, Requester Pays and CloudFront.

Canonical: https://scaplet.com/errors/cdn/s3-access-denied

Guide Error · CDN and hosting

Decode an Amazon S3 Access Denied 403: explicit vs implicit deny, the policy type in the message, Block Public Access, KMS, Requester Pays and CloudFront.

5 min

read

3

sources

Oct 23, 2026

updated

Scaplet Editorial Team

author

In one line

S3 returns Access Denied (HTTP 403 Forbidden) when AWS explicitly or implicitly denies the request. An explicit denial is a Deny statement; an implicit denial is the absence of any Allow. For same-account and same-organization requests, the error message names the policy type that denied it. Read that message first, then fix that policy.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fs3-access-denied%20(%22S3%20Access%20Denied%20(403%20Forbidden)%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fs3-access-denied%20(%22S3%20Access%20Denied%20(403%20Forbidden)%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fs3-access-denied%20(%22S3%20Access%20Denied%20(403%20Forbidden)%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fcdn%2Fs3-access-denied%20(%22S3%20Access%20Denied%20(403%20Forbidden)%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 6 parts, 5 minutes.

1. [What S3 Access Denied means 01](#what-s3-access-denied-means)
2. [Read the error message before changing anything 02](#read-the-error-message-before-changing-anything)
3. [The usual causes, in the order to check 03](#the-usual-causes-in-the-order-to-check)
4. [When it is CloudFront in front of S3 04](#when-it-is-cloudfront-in-front-of-s3)
5. [Visitors: what you can and can't do 05](#visitors-what-you-can-and-can-t-do)
6. [What it does to SEO 06](#what-it-does-to-seo)

_01_Good to know

## What S3 Access Denied means

Access denied ([HTTP 403](/errors/http/403) Forbidden) errors appear when AWS explicitly or implicitly denies an authorization request. AWS defines the two cases:

- An explicit denial occurs when a policy contains a Deny statement for the specific AWS action.
- An implicit denial occurs when there is no applicable Deny statement and also no applicable Allow statement.

Because an IAM policy implicitly denies an IAM principal by default, the policy must explicitly allow the action. So the fix for an implicit denial is adding an Allow, and the fix for an explicit denial is changing or removing a Deny. For the general status, see [403 Forbidden](/errors/http/403).

Who gets charged

For access denied (HTTP 403 Forbidden) errors, AWS says S3 doesn't charge the bucket owner when the request is initiated outside the bucket owner's individual AWS account or AWS organization.

_02_What the wording tells you

## Read the error message before changing anything

S3 includes additional context in access denied errors for requests made within the same AWS account or the same organization in AWS Organizations. The context names the type of policy that denied access, the reason, and the IAM user or role that made the request. For explicit denials it also includes the ARN of the specific policy. The message usually looks like this:

Phrase in the message

### with an explicit deny in a [type] policy

Meaning

A Deny statement matched; the message includes the policy ARN

Fix

Change the Deny so the user gets the access needed

Phrase in the message

### because no [type] policy allows the [action] action

Meaning

No Allow found for that policy type

Fix

Add an Allow statement to that policy

Phrase in the message

### no service control policy allows ...

Meaning

Implicit denial at the SCP level

Fix

Add the Allow to the SCP

Phrase in the message

### no VPC endpoint policy allows ...

Meaning

Implicit denial by a VPC endpoint policy

Fix

Add the Allow to the endpoint policy

Phrase in the message

### no resource-based policy allows ...

Meaning

Bucket or access point policy has no Allow; IgnorePublicAcls may also apply

Fix

Add an Allow; check Block Public Access

Phrase in the message

### no identity-based policy allows ...

Meaning

The user or role policy has no Allow

Fix

Add an Allow to the identity's policy

Message format described by AWS

```
User: user-arn is not authorized to perform: action on "resource-arn" because context
```

**The detailed message is not guaranteed**Cross-account requests outside the same organization return a generic Access Denied message. So do requests to directory buckets. Enhanced messages also are not returned when a VPC endpoint policy causes the denial for requests within the same organization. If several policies or reasons deny a request, the message includes only one.

_03_S3 Access Denied causes and fixes

## The usual causes, in the order to check

Cause

### Bucket or IAM policy

What AWS says

Policy must explicitly allow the action; with no bucket policy, other accounts and anonymous requests are implicitly denied

Check

Run aws sts get-caller-identity to confirm who you are, then review that identity's policies

Cause

### Block Public Access

What AWS says

Settings override policies, permissions and ACLs; all four settings are on by default for new buckets since April 2023; the most restrictive combination of access point, bucket and account applies

Check

The four settings at account, bucket and access point level

Cause

### Requester Pays

What AWS says

A request without the right parameter gets Access Denied (403 Forbidden)

Check

Pass --request-payer requester in the CLI or the x-amz-request-payer header in SDK requests

Cause

### Encryption with SSE-KMS

What AWS says

A customer managed key needs kms:GenerateDataKey to upload and kms:Decrypt to download; an AWS managed key needs a requester in the account that owns aws/s3

Check

The KMS key policy and the object's encryption

Cause

### Blocked SSE-C

What AWS says

If SSE-C is blocked on the bucket, writes specifying it are rejected with an HTTP 403 AccessDenied

Check

The BlockedEncryptionTypes setting

Cause

### Object Lock

What AWS says

A permanent DELETE request (one with a version ID) on an object under a retention period returns Access Denied (403 Forbidden); a legal hold can cause the same

Check

Retention period or legal hold

Cause

### VPC endpoint, SCP, RCP, permissions boundary, session policy

What AWS says

Each can deny, explicitly or implicitly

Check

The policy type named in the message

Requester Pays buckets need an explicit flag

```
aws s3 cp s3://amzn-s3-demo-bucket/object.txt /local/path \ --request-payer requester
```

The Block Public Access rules explain a common surprise. Setting a public bucket policy or ACL doesn't help if a Block Public Access setting prevents it. IgnorePublicAcls causes an implicit denial; RestrictPublicBuckets causes an explicit one and also rejects all anonymous (unsigned) calls.

_04_Explained

## When it is CloudFront in front of S3

If the 403 appears through CloudFront, AWS says to check two things: that you use the S3 website endpoint format (bucket-name.s3-website-region.amazonaws.com) rather than the REST API endpoint, and that the bucket policy allows your distribution's OAI or OAC with s3:GetObject. The CloudFront side, including geo restrictions and WAF, is in [403 on CloudFront](/errors/http/403/cloudfront).

_05_Explained

## Visitors: what you can and can't do

If a public file on someone's site shows an S3 Access Denied page, the bucket owner has to change the policy. Retrying or signing in somewhere else won't help. Tell the site owner which URL failed and when. If you are the bucket owner, use the table above.

_06_Explained

## What it does to SEO

Images, PDFs and scripts served from S3 that return 403 to [Googlebot](/ai-crawlers/googlebot) are treated like any 4xx other than 429: Google treats the content as nonexistent. Google ignores any content it receives from a URL that returns a 4xx [status code](/glossary/http-status-codes). See [4xx errors](/seo-issues/4xx-errors) and Google's page on how HTTP status codes affect its crawlers.

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What does S3 AccessDenied mean?

AWS explicitly or implicitly denied the request. An explicit denial is a Deny statement for the action; an implicit denial is the absence of any applicable Allow. The error message names the policy type for same-account and same-organization requests.

_02_ Why does my S3 bucket policy still give Access Denied?

Block Public Access settings override bucket policies, ACLs and permissions. Other possible causes are an SCP, a VPC endpoint policy, a permissions boundary, KMS key permissions, Requester Pays settings or Object Lock.

_03_ Why is the S3 error message so generic?

Enhanced access denied messages are returned only for same-account requests or requests in the same AWS organization. Cross-account requests outside the organization, and requests to directory buckets, return a generic Access Denied.

_04_ How do I access a Requester Pays bucket?

Include the --request-payer requester parameter in the AWS CLI, or set the x-amz-request-payer header to requester in SDK requests. The caller also needs permissions such as s3:GetObject and s3:ListBucket.

Sources · 3

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- amazon.com
- google.com

1. 01 [Troubleshoot access denied (403 Forbidden) errors in Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/troubleshoot-403-errors.html) docs.aws.amazon.com · checked 2026-10-25
2. 02 [HTTP 403 status code (Permission Denied) - Amazon CloudFront Developer Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/http-403-permission-denied.html) docs.aws.amazon.com · checked 2026-10-25
3. 03 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25

## Keep learning

[All errors](/errors)

[Learn 403 Forbidden HTTP status codes](/errors/http/403) [Related 4xx errors Status codes and links](/seo-issues/4xx-errors) [Read next 403 Forbidden on CloudFront HTTP status codes](/errors/http/403/cloudfront) [Do Run a free site audit Free, about two minutes](/site-audit)

Other 403 errors
[403 Forbidden on Cloudflare](/errors/http/403/cloudflare) [403 Forbidden on CloudFront](/errors/http/403/cloudfront) [API Gateway 403 Forbidden](/errors/cdn/api-gateway-403-forbidden) [403 Forbidden](/errors/http/403) [403 Forbidden in Apache](/errors/http/403/apache)

More in CDN and hosting errors
[CloudFront 503: Service Unavailable](/errors/cdn/cloudfront-503) [Firebase Hosting 404](/errors/cdn/firebase-hosting-404) [GitHub Pages 404 Not Found](/errors/cdn/github-pages-404) [Google Cloud 502 Bad Gateway](/errors/cdn/google-cloud-502) [Heroku 503 Service Unavailable](/errors/cdn/heroku-503) [Heroku H10: App crashed](/errors/cdn/heroku-h10-app-crashed) [Heroku H12: Request timeout](/errors/cdn/heroku-h12-request-timeout) [Heroku H13: Connection closed without response](/errors/cdn/heroku-h13) [Heroku H14: No web processes running](/errors/cdn/heroku-h14) [Netlify build failed](/errors/cdn/netlify-build-failed) [Netlify function timeout](/errors/cdn/netlify-function-timeout) [Render 502 Bad Gateway](/errors/cdn/render-502) [S3 Access Denied (403 Forbidden)](/errors/cdn/s3-access-denied) [Vercel 413: FUNCTION_PAYLOAD_TOO_LARGE](/errors/cdn/vercel-payload-too-large) [Vercel 429: Too Many Requests](/errors/cdn/vercel-429) [Vercel 500: Internal Server Error](/errors/cdn/vercel-500) [Vercel build failed](/errors/cdn/vercel-build-failed) [Vercel domain not working](/errors/cdn/vercel-domain-not-working) [Vercel FUNCTION_INVOCATION_TIMEOUT](/errors/cdn/vercel-function-invocation-timeout) [Vercel: too many redirects](/errors/cdn/vercel-too-many-redirects) [Akamai reference number](/errors/cdn/akamai-reference-number) [ALB 503 Service Unavailable](/errors/cdn/alb-503) [ALB 504 Gateway Timeout](/errors/cdn/alb-504-gateway-timeout) [API Gateway 403 Forbidden](/errors/cdn/api-gateway-403-forbidden)

Terms on this page
[HTTP status codes](/glossary/http-status-codes)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
