Free auditStart free
GuideError · HTTP status codes

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.

4 min
read
7
sources
Nov 1, 2026
updated
Scaplet Editorial Team
author
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
  2. Find which hop returned the 413
  3. Fixes, in the order to try them
  4. Outbound uploads from Containers and Durable Objects
  5. 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 withChatGPTClaudePerplexityGoogleAI Mode

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
01Maximum 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.
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.

03How 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.

04Explained

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.

05Explained

What it does to SEO

A 413 is a 4xx, and Google says it doesn't use content from URLs that return 4xx. 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 and 413 on nginx for the origin side, and 4xx errors for how crawlers treat client errors.
Questions

Asked a lot.

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

01What 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.

02Can 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.

03How 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.

04Why 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. 01Cloudflare Support: Error 413developers.cloudflare.com · checked 2026-11-01
  2. 02Cloudflare Workers: Limitsdevelopers.cloudflare.com · checked 2026-11-01
  3. 03Cloudflare Fundamentals: Connection limitsdevelopers.cloudflare.com · checked 2026-11-01
  4. 04nginx: ngx_http_core_module (client_max_body_size)nginx.org · checked 2026-11-01
  5. 05Apache httpd: core features (LimitRequestBody)httpd.apache.org · checked 2026-11-01
  6. 06RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-11-01
  7. 07How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-11-01
Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane