OriginChain docs
examples · errors

Error responses

← All examples

19 canonical errors, one per page. Every error response from the OriginChain API uses the same JSON shape:

{
  "error": "code",          // short machine-readable string
  "message": "human",       // plain-English explanation
  "retry": false            // true if the same request might succeed later
}

Some errors carry extra typed fields - purchase_url on a 402, retry_after_seconds on a 429, current_version on an OCC 409, trace_id on a 500. The individual pages show those.

400 - bad request

The request reached the server, parsed, and was rejected before the engine ran it. Fix the request and resend.

401 / 402 / 403 - auth, billing, permission

The request was authenticated or authorised incorrectly, or it asks for a paid feature the tenant hasn't enabled.

404 - not found

The hostname, path, or resource id does not exist.

409 - conflict

The request is valid but conflicts with current state - a concurrent writer, or an already-enabled addon.

413 - payload too large

The body exceeded the per-call size cap of 8 MiB.

422 - semantically invalid

The request parsed but failed a higher-level semantic check.

429 - rate limited

Per-API-key quota exceeded. See /docs/rate-limits for the full reference.

5xx - server-side

The server hit an unexpected condition or the engine was momentarily unreachable.