Español

Errors and retries

Public HTTP queries can return Problem Details. Use the response content type before parsing the body. A problem can include a machine-readable code, attemptRecovery, and retryAfterSeconds. Gateways may send text, and OAuth uses its own error format.

  • attemptRecovery: retry_same_request allows the same request to be retried, subject to the operation’s recovery contract. Keep the request and any required idempotency key unchanged.
  • attemptRecovery: revise_request calls for correcting the request before retrying. A received problem and an interrupted connection with an unknown outcome require different handling.
ResponseHandling
400Correct the request parameters and try again.
429Wait for any advertised retry delay and use bounded backoff.
500, 502 or 503Retry read-only queries with bounded backoff. Keep the request identifier when the response supplies one.

If a signed-in mutation times out or loses its response, retain the original operation, account, request, and idempotency identifiers when available. Pause resubmission while the outcome is unknown, pending, or unavailable. Reconcile using an authorized status or receipt channel, or contact integration support with the request identifier. Resume only once the authoritative result and the supported recovery path are known.

TODO — Partner mutation recovery. Publish the supported idempotency and receipt recovery contract with tested retry examples once external access is confirmed.