HTTP 413 Payload Too Large — Request Body Exceeds Limit
Warning4xx client error
Overview
HTTP 413 Payload Too Large means the request body exceeds the server maximum size limit.
Key Details
- Status: 413 Payload Too Large
- Category: 4xx Client Error
- Request body exceeds server limit
- May include Retry-After header
Common Causes
- File upload exceeds maximum size
- JSON request body too large
- Server configured with low body size limit
- Image or video file exceeds upload limit
Steps
- 1Reduce the payload size
- 2Compress the data before sending
- 3Use chunked upload for large files
- 4Check server max body size configuration (e.g., nginx client_max_body_size)
Tags
http-status4xx-client-errorhttp-413httpstatus-code
More in 4xx Client Error
http-400-bad-requestHTTP 400 Bad Request — What It Means & How to Fix It
Errorhttp-401-unauthorizedHTTP 401 Unauthorized — What It Means & How to Fix It
Errorhttp-402-payment-requiredHTTP 402 Payment Required — What It Means & How to Fix It
Errorhttp-403-forbiddenHTTP 403 Forbidden — What It Means & How to Fix It
Errorhttp-404-not-foundHTTP 404 Not Found — What It Means & How to Fix It
Errorhttp-405-method-not-allowedHTTP 405 Method Not Allowed — What It Means & How to Fix It
ErrorFrequently Asked Questions
Varies — nginx defaults to 1MB, many APIs allow 10-50MB.