My App
Guides

Error Handling

JSON error shape and common codes.

Error Handling

Most API errors use:

{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human readable message"
  }
}

Validation errors include an issues array. Unhandled errors include requestId in production-safe responses. The API also returns X-Request-Id on every request.

On this page