Skip to main content
Developer API errors come from the gateway, service auth layer, or backend handler. The REST status is mapped from the underlying gRPC status.

Common HTTP statuses

Error body

The gateway may return a gRPC-transcoded error body. The exact body can vary by service and gateway layer, so clients should key primarily on HTTP status and then log any returned code, message, or details.
Some legacy endpoints or SDK proxy routes may return an object-shaped error:

Client handling

  • Retry 429 and transient 5xx responses with exponential backoff.
  • Retry validation failures only after changing the request.
  • Treat 401 as an API-key or credential configuration failure.
  • Treat 403 as an organization/resource access failure.
  • Log only request ids and non-sensitive identifiers. Keep API keys, signed transactions, launch URLs, OTP values, and upstream provider payloads out of logs.