> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interactivelayers.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors and retries

> Interpret HTTP errors and preserve state when retrying.

Read the response body before deciding whether to retry. `detail` may be a message or a validation list with `loc`, `msg` and `type`.

| HTTP | Action |
| - | - |
| 400 | Correct the request or public URL. |
| 401 | Verify the key and its revocation status with `GET /v1/keys/me`. |
| 403 | Check the scope and the project or partner access. |
| 404 | Check the resource ID and whether this key can access it. |
| 409 | Resolve a state conflict, such as an incomplete scan, stale snapshot or reused operation ID with changed data. |
| 422 | Correct a validation problem or choose a compatible capability. SpringServe profiles use the SSAI airing API. |
| 429 | Wait for the interval in `Retry-After` when present. |
| 502/503 | Check provider or output readiness and retry safe reads after a delay. |

HTTP 202 confirms acceptance of asynchronous work. Use its status endpoint. HTTP 200 from a provider sync still requires checking `status` and `checked_at`. If a write supports `Idempotency-Key`, reuse the key only with the identical request. For event delivery, preserve `event_id` across retries. At a playback cue, continue content if the ad is unavailable or the one-time request outcome is uncertain. [VOD operations](https://docs.interactivelayers.com/vod-operations.md) · [Webhooks](https://docs.interactivelayers.com/webhooks.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.