Skip to main content
Every error uses one envelope:
  • code is stable and machine readable.
  • message is a stable, safe English sentence. It never carries the underlying error text.
  • correlation_id is 32 hexadecimal characters. Quote it when you contact us.
  • reason is optional and comes from a closed list for the operation.

Codes

invalid_request, request_too_large, unauthenticated, not_found, conflict, unprocessable, operation_disabled, rate_limited, forbidden, dependency_unavailable, internal, deadline_exceeded, method_not_allowed.

Reasons on the partner routes

Other statuses you can meet: 401 for a missing or invalid token, 405 for a method the path does not take, 413 for a body over the route’s limit, and 500, 503 and 504 for failures on our side. Retry 429 after the time in Retry-After, and 500, 503 and 504 with a growing delay. Do not retry 400, 401, 403, 404, 405, 409, 413 or 422 unchanged: fix the request, or for 409 stale_totals send the logbook’s current state.