Skip to main content
All Sandbox API errors use the same JSON envelope:

Error reference

JSON responses include Cache-Control: private, no-store. SSE responses use private, no-cache, no-transform so intermediaries neither share nor buffer the stream.

Retry policy

Retry network failures and HTTP 5xx responses with exponential backoff and jitter. For HTTP 429, wait at least the number of seconds in Retry-After. Do not automatically retry validation, authorization, size, media-type, or other conflict errors without changing the request or access configuration. idempotency_in_progress is the exception: retry the identical request and key after a short delay. Creating a sandbox is safe to retry when you preserve its Idempotency-Key. The normalized sandbox request must match the original request for that key.

Example retry decision

Cap automated retries, record the final error code, and preserve the original Idempotency-Key across every retry.