HTTP Status Codes / 4xx HTTP Status Codes / HTTP 413

413 Payload Too Large (RFC 7231)

This is an educational reference page about HTTP 413 Payload Too Large. The page itself is served as 200 OK so it can be indexed as HTTP documentation.

The request is larger than the server is willing or able to process. Previously called "Request Entity Too Large".

What it means

HTTP 413 Payload Too Large means the request body is bigger than the server, proxy, or application is willing to process.

Common causes

Where you see it

Headers involved

How to fix it

Client fixes

Server fixes

Example response

HTTP/1.1 413 Payload Too Large
Content-Type: application/json

{"error":"payload_too_large","maxBytes":10485760}

Developer notes

413 is usually returned before application validation runs. For valid-size bodies with semantic problems, use 422.

Questions

What does HTTP 413 mean?

HTTP 413 means the submitted request body or upload is larger than the server allows.

How do I fix 413 Payload Too Large?

Reduce the request size or raise the configured body-size limits in the proxy, gateway, and application.

Related comparisons

4xx client error – the request contains bad syntax or cannot be fulfilled


HTTP status code lookup
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia