Skip to content

payload_too_large

Error codeView as Markdown

The request body is too large. The request body or upload is bigger than this endpoint accepts.

  • HTTP status: 413 Content Too Large
  • CLI exit code: 2 (the request or file is not valid)
  • Retry: not as it is; the same request will fail the same way until the cause is fixed

Keep bodies under {limit_bytes} bytes; upload source with POST /v1/projects/{project}/uploads.

Words in {braces} are filled in from the error response, which names the exact resource.

{
"type": "https://guv.dev/errors/payload_too_large",
"title": "The request body is too large",
"status": 413,
"code": "payload_too_large",
"detail": "The request body or upload is bigger than this endpoint accepts.",
"fix": "Keep bodies under {limit_bytes} bytes; upload source with POST /v1/projects/{project}/uploads.",
"docs_url": "https://guv.dev/errors/payload_too_large",
"request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}

The code field is stable: match on it, not on title or detail, which may be reworded.