Summary
The request body is larger than the server will process (formerly Payload Too Large).
When it occurs
Returned when an upload or request body exceeds the server’s size limit.
Common causes
- Upload exceeds the server body-size limit
- Very large JSON payload
- Proxy limit (e.g. Nginx client_max_body_size)
How to fix
- Reduce or split the payload
- Raise the server / proxy max body size
- Compress the request body