Error Model
Purpose: define HTTP error behavior for integration and enforcement handling.
Response Shape
Typical error responses use a structured JSON payload with an error code/message contract.
Applications should branch on HTTP status first, then error code where available.
Common Status Codes
401 Unauthorized: invalid or expired token/session, refresh failure, auth required403 Forbidden: valid identity but blocked by policy, plan, or lifecycle restrictions404 Not Found: unknown route/action or unavailable endpoint429 Too Many Requests: request-rate threshold exceeded5xx: upstream or internal processing failure
Client Handling Guidance
401: trigger re-authentication or refresh path403: show explicit access-restricted state429: retry with backoff5xx: fail closed and surface transient error state
Last updated on