# 413 Payload Too Large on Cloudflare

> Cloudflare returns 413 when an upload exceeds your plan limit: 100 MB on Free and Pro, 200 MB on Business. See how to find the layer and the real fixes.

Canonical: https://scaplet.com/errors/http/413/cloudflare

Guide Cloudflare Error · HTTP status codes

Cloudflare returns 413 when an upload exceeds your plan limit: 100 MB on Free and Pro, 200 MB on Business. See how to find the layer and the real fixes.

4 min

read

7

sources

Nov 1, 2026

updated

Scaplet Editorial Team

author

413 4xx · Client error

Free and Pro limit

100 MB

Business limit

200 MB

Enterprise limit

Up to 5 GB, self-serve on the Network page

The short answer

On a domain proxied through Cloudflare, a request body larger than the zone's Maximum Upload Size gets a 413. Cloudflare lists 100 MB for Free and Pro, 200 MB for Business and up to 5 GB for Enterprise. Check whether Cloudflare or your origin returned the 413, then send smaller requests, switch the record to DNS-only, or raise the plan limit.

1. [What the Cloudflare 413 means](#what-the-cloudflare-413-means)
2. [Find which hop returned the 413](#find-which-hop-returned-the-413)
3. [Fixes, in the order to try them](#fixes-in-the-order-to-try-them)
4. [Outbound uploads from Containers and Durable Objects](#outbound-uploads-from-containers-and-durable-objects)
5. [What it does to SEO](#what-it-does-to-seo)

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%2Fhttp%2F413%2Fcloudflare%20(%22413%20Payload%20Too%20Large%20on%20Cloudflare%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%2Fhttp%2F413%2Fcloudflare%20(%22413%20Payload%20Too%20Large%20on%20Cloudflare%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%2Fhttp%2F413%2Fcloudflare%20(%22413%20Payload%20Too%20Large%20on%20Cloudflare%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%2Fhttp%2F413%2Fcloudflare%20(%22413%20Payload%20Too%20Large%20on%20Cloudflare%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

4 facts from the sources below

100 MB

Free and Pro limit

200 MB

Business limit

Up to 5 GB, self-serve on the Network page

Enterprise limit

100 MiB by default

Outbound from Containers and Durable Objects

_01_Maximum upload size per plan (Cloudflare docs)

## What the Cloudflare 413 means

Cloudflare's error page for 413 describes the status as the server refusing to process a request because the payload exceeds the size limit it accepts; the server may close the connection, and if the refusal is temporary it should send a `Retry-After` header. For a domain proxied through Cloudflare, the upload limit depends on the domain's plan, and requests over the limit receive a [413 Request Entity Too Large](/errors/http/413).

Plan

### Free

Max upload size

100 MB

Adjustable?

From the zone's Network page

Plan

### Pro

Max upload size

100 MB

Adjustable?

From the zone's Network page

Plan

### Business

Max upload size

200 MB

Adjustable?

From the zone's Network page

Plan

### Enterprise

Max upload size

Up to 5 GB

Adjustable?

Self-serve any value up to 5 GB; above that, contact your account team

The limit also applies to a Worker on your domain: the Workers limits page says request body limits depend on the domain's Cloudflare plan, not your Workers plan. Setting the Maximum Upload Size below the size of an incoming request causes a 413, so a low value you set yourself can be the culprit.

_02_How to read the two results

## Find which hop returned the 413

Three places can say 413: Cloudflare's edge, your origin (nginx, Apache, PHP, an app framework), or a service your own code calls. Cloudflare asks you to check which request returned it: the incoming upload to your application, or an outbound upload to another service. Test with a body just over the limit, once through Cloudflare and once straight to the origin.

Through Cloudflare

### 413

Direct to origin

Not 413

Where the limit is

Cloudflare: your plan or the zone's Maximum Upload Size

Through Cloudflare

### 413

Direct to origin

413

Where the limit is

The origin as well. Fix the origin limit first (nginx `client_max_body_size`, PHP, framework), then recheck Cloudflare

Send a 101 MB body through Cloudflare, then to the origin

```
# 101 MB is over the 100 MB Free/Pro limit head -c 101M /dev/zero > big.bin # 1. Through Cloudflare curl -sS -o /dev/null -w "%{http_code}\n" \ -X POST --data-binary @big.bin https://example.com/upload # 2. Directly to the origin, skipping Cloudflare (replace the IP) curl -sSk -o /dev/null -w "%{http_code}\n" \ --resolve example.com:443:203.0.113.10 \ -X POST --data-binary @big.bin https://example.com/upload
```

**Browsers hide the message**nginx's own documentation warns that browsers cannot correctly display the 413 error. Use curl or the DevTools Network panel to see the [status code](/glossary/http-status-codes) and response body.

_03_How it works

## Fixes, in the order to try them

nginx: allow a 200 MB body on the upload route only

```
location /upload { client_max_body_size 200m; # default is 1m proxy_pass http://127.0.0.1:8000; }
```

Apache: cap request bodies on one directory

```
<Directory "/var/www/html/upload"> # Default is 1073741824 (1 GiB) per the Apache 2.4 docs LimitRequestBody 209715200 </Directory>
```

Go DNS-only if
- Uploads are large and rare, and you can isolate them on their own hostname.
- You have another layer (a WAF or rate limiter) in front of the origin.
- Upgrading the plan is not on the table.

Stay proxied if
- You rely on Cloudflare's WAF and DDoS protection for the upload route.
- Chunking the upload in your client is possible.
- A plan upgrade or an Enterprise limit covers your largest file.

1. 01

### Send smaller requests

Cloudflare's first suggestion for uploads to a proxied domain is smaller, separate requests, if your application supports them. Chunked or multipart-resumable uploads fit here.
2. 02

### Point the upload hostname at the origin, DNS-only

Cloudflare says you can change the DNS record to DNS-only. Traffic then goes straight to the origin instead of through Cloudflare's proxy. A dedicated `upload.example.com` keeps that change to one hostname.
3. 03

### Raise the plan limit

Upgrade the plan (Business is 200 MB). Enterprise customers can set the Maximum Upload Size themselves on the Network page, up to 5 GB.
4. 04

### Fix the origin limit too

Raising Cloudflare's limit does nothing if the origin rejects the body. For nginx, `client_max_body_size` defaults to `1m` and sets a 413 when exceeded; `0` disables the check.

_04_Explained

## Outbound uploads from Containers and Durable Objects

A different limit applies to requests your own code sends out. Cloudflare limits each HTTP request body sent to an external service by a Durable Object, or through a Container outbound handler, to 100 MiB by default. Increasing Maximum Upload Size for your domain does not raise that limit, and the destination service can reject oversized requests too. The Containers and Durable Objects limits pages explain how to request an increase.

_05_Explained

## What it does to SEO

A 413 is a 4xx, and Google says it doesn't use content from URLs that return 4xx. [Googlebot](/ai-crawlers/googlebot) fetches pages with GET requests, so this limit rarely touches crawling. The case to watch is your own users: a failed upload form or API call is a product problem, not an indexing one. See [413 Request Entity Too Large](/errors/http/413) and [413 on nginx](/errors/http/413/nginx) for the origin side, and [4xx errors](/seo-issues/4xx-errors) for how crawlers treat client errors.

Questions

## Asked a lot.

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

_01_ What is the Cloudflare upload limit?

Cloudflare lists a maximum upload size of 100 MB on Free and Pro, 200 MB on Business, and up to 5 GB on Enterprise for domains proxied through Cloudflare.

_02_ Can I increase the Cloudflare 413 limit?

Customers can adjust the Maximum Upload Size from the zone's Network page. Enterprise customers can self-serve any value up to 5 GB; larger uploads need additional configuration through the account team.

_03_ How do I bypass the Cloudflare upload limit?

Send smaller separate requests, change the DNS record to DNS-only so uploads go straight to the origin, or upgrade your plan. DNS-only removes Cloudflare's proxy features for that hostname.

_04_ Why do I still get 413 after raising the Cloudflare limit?

Your origin can reject the body too. nginx defaults `client_max_body_size` to `1m` and returns 413 above it. Test the origin directly with curl to see which layer answers.

Sources · 7

## Every fact, linked and dated.

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

- cloudflare.com
- nginx.org
- apache.org
- rfc-editor.org
- google.com

1. 01 [Cloudflare Support: Error 413](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-413/) developers.cloudflare.com · checked 2026-11-01
2. 02 [Cloudflare Workers: Limits](https://developers.cloudflare.com/workers/platform/limits/) developers.cloudflare.com · checked 2026-11-01
3. 03 [Cloudflare Fundamentals: Connection limits](https://developers.cloudflare.com/fundamentals/reference/connection-limits/) developers.cloudflare.com · checked 2026-11-01
4. 04 [nginx: ngx_http_core_module (client_max_body_size)](https://nginx.org/en/docs/http/ngx_http_core_module.html) nginx.org · checked 2026-11-01
5. 05 [Apache httpd: core features (LimitRequestBody)](https://httpd.apache.org/docs/2.4/mod/core.html) httpd.apache.org · checked 2026-11-01
6. 06 [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html) rfc-editor.org · checked 2026-11-01
7. 07 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-11-01

## Keep learning

[All errors](/errors)

[Learn 413 Request Entity Too Large HTTP status codes](/errors/http/413) [Related 429 Too Many Requests HTTP status codes](/errors/http/429) [Read next 413 Request Entity Too Large in nginx HTTP status codes](/errors/http/413/nginx) [Do Run a free site audit Free, about two minutes](/site-audit)

Other 413 errors
[Vercel 413: FUNCTION_PAYLOAD_TOO_LARGE](/errors/cdn/vercel-payload-too-large) [413 Payload Too Large in Express](/errors/http/413/express) [413 Payload Too Large in PHP uploads](/errors/http/413/php) [413 Request Entity Too Large](/errors/http/413) [413 Request Entity Too Large in Apache](/errors/http/413/apache)

More in 413 Request Entity Too Large
[413 Payload Too Large in Express](/errors/http/413/express) [413 Payload Too Large in PHP uploads](/errors/http/413/php) [413 Payload Too Large on Cloudflare](/errors/http/413/cloudflare) [413 Request Entity Too Large in Apache](/errors/http/413/apache) [413 Request Entity Too Large in IIS](/errors/http/413/iis) [413 Request Entity Too Large in nginx](/errors/http/413/nginx)

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

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
