Skip to main content

Payload too large

typehttps://docs.frem.sh/reference/api/errors/payload-too-large
HTTP status413 Payload Too Large

What it means

The body is larger than this endpoint accepts.

Example detail messages returned with this error:

  • Request body exceeds the {SBOM_INGEST_MAX_BYTES} byte limit on this endpoint.
  • sbom exceeds {SBOM_INGEST_MAX_BYTES} bytes.
  • attestation exceeds {SBOM_INGEST_MAX_BYTES} bytes.

What to do

Reduce the request body; detail states the cap for this endpoint.

Response shape

All fremforge API errors are RFC 9457 problem+json:

{
  "type": "https://docs.frem.sh/reference/api/errors/payload-too-large",
  "title": "Payload Too Large",
  "status": 413,
  "detail": "..."
}

Branch on type, not on title or detail - those are human-readable and may be reworded.