Skip to main content

HTTP 202 Accepted

The request was accepted for asynchronous processing but is not complete. The final outcome is not yet known.

2xx · Success✗ not retryable — fix the request instead

In AI APIs specifically

Async batch APIs accept work with 202; completion can take up to 24h on Anthropic and OpenAI batch tiers.

Fix checklist

  • Poll the job status endpoint with backoff.
  • Do not treat 202 as success — the job can still fail later.

Spec: RFC reference