413 Payload Too Large

All status codes
4xx · Client errorterminal

413Payload Too Large

The request is larger than the server is willing or able to process (e.g., uploading a massive image).

What this code obliges you to do

Retry

Do not retry automatically

Repeating the same request produces the same result. A retry loop here just multiplies load and hides the real fault.

Caching

Not cacheable by default

Caches will not store this response unless you send explicit freshness headers saying they may.

Response body

Body allowed

You may return a payload explaining the outcome — for an error, a machine-readable problem document is worth the effort.

What usually causes it

2
1

Uploading a 50MB file to a 5MB endpoint limit

2

Massive JSON bodies

Effect on search

Neutral.

How to send it

1
Nginx
client_max_body_size 10M; # Inside nginx.conf

Codes people confuse with this one

1
Class4xx
RetryNo
CacheNo
BodyAllowed