202 Accepted

Accepted for processing, but not finished yet.

2xx · Success

What it means

The server accepted the request but hasn't finished processing it, and might never complete it. HTTP has no way to report the result later, so the response should tell the client where to check.

Why you're seeing it

  • Work handed to a background queue: video encoding, report generation, bulk imports.
  • Webhooks and event endpoints that acknowledge receipt immediately.

How to fix it

  • Return a status URL in Location or the body, and let clients poll it.
  • Add Retry-After to suggest how often to poll.

Example response

HTTP/1.1 202 Accepted
Location: /jobs/9c1e
Retry-After: 5
Content-Type: application/json

{"status": "queued"}