Skip to main content

Error responses

Application errors use this envelope:
The example message is illustrative. Branch on the status and machine-readable code, not exact wording. An upstream gateway may return a different response format.

Retry deliberately

Use bounded retries with backoff for transient read failures. Do not blindly repeat a mutation after a timeout: the original request may have succeeded. Confirm the resulting state before retrying an operation that changes data.