Skip to main content

API Errors

The Anima API returns errors as RFC 7807 application/problem+json. The type URI is always https://docs.useanima.sh/errors/<code> (the code, lowercased, _-) — those URIs are stable forever, and they all resolve to this page. Machine clients should branch on the code extension field.
  • code and details are Anima extensions (RFC 7807 permits extensions).
  • Many errors include details.remediation — a hint written for both humans and LLM agents, sometimes with a docsUrl or verificationUrl. Agents should surface or act on the hint before retrying.
  • The legacy error: { code, message, details } sibling is preserved through SDK v1.x and will be removed in v2.
  • Every response carries x-request-id (unique per call) and x-correlation-id (stable per workflow) — include both when contacting support.

Request errors (4xx)

Server errors (5xx)