Skip to content
Docs
Reference

PAYLOAD_TOO_LARGE

The body exceeds the size limit

The body exceeds the size limit

HTTP status 413 Payload Too Large, code PAYLOAD_TOO_LARGE.

What it means#

The request body is larger than this route accepts. The message states the limit in bytes. Limits are per route: an asset upload allows far more than an ordinary JSON operation.

What to do#

Reduce the body. For bulk work, split the request; for files, use the assets routes, which carry their own larger limit.

On the wire#

Every error response carrying this code names this page in error.moreInfo, with the request id in the query string. See Error codes for the response shape and the list of every code.