413 Content Too Large (formerly Payload Too Large) means the request body is bigger than the server is willing to accept.
HTTP/1.1 413 Content Too LargeCommon causes
- Uploading a file larger than the server's limit.
- nginx's client_max_body_size, which defaults to 1 MB.
- A large JSON body sent to an API with a size limit.
How to fix it
- Raise the limit on the server (for example client_max_body_size in nginx) if the upload is legitimate.
- Compress or split the upload, or use a resumable or multipart upload API.