Skip to main content
All errors share the same shape:
  • error: stable snake_case code — use it in your logic.
  • message: human-readable explanation — may change, don’t parse it.

Codes by category

Authentication and permissions

OTP / 2FA

Full flow and details in security and 2FA.

Social login (OAuth)

Full flow and details in social login.

Validation (400)

Money and state (402 / 404 / 409 / 422)

Compliance (403 / 503)

Service (5xx)

How to handle them

  • Validation 4xx: fix the request. Don’t retry as-is.
  • 402: fund the account and retry (new idempotency key only if the operation was never created).
  • 5xx / timeouts: retry with the same idempotency key; the operation will never duplicate.
Last modified on July 17, 2026