Error handling · Reference

Error code reference

Every error response is a JSON body with a stable code and a human-readable message.

HTTP status codes

FieldTypeDescription
400Bad RequestValidation failed. Inspect the message field for details.
401UnauthorizedMissing or invalid X-API-Key header.
403ForbiddenKey valid but lacks permission for the requested resource.
404Not FoundThe endpoint or resource doesn't exist.
429Too Many RequestsRate limit exceeded. Retry with exponential backoff.
500Server ErrorInternal server error. Safe to retry idempotent calls.
503Service UnavailableTemporary degradation. Check the status page.