202
Success
202 Accepted
The request has been accepted for processing, but processing has not been completed.
Description
202 Accepted means the server has accepted the request but hasn't finished processing it yet. This is used for asynchronous operations — like sending an email, generating a report, or running a background job — where the result isn't immediately available.
The response may include a URL to check the status or an estimated completion time.
Common Causes
- Async job submission (email sending, report generation)
- Webhook delivery endpoints
- Queue-based architectures (Kafka, RabbitMQ, SQS)
- Batch import APIs
How to Fix
- Include a
Locationheader pointing to a job status endpoint - Document the async contract clearly in API docs
- Return a job ID in the response body for polling
- Consider using webhooks to notify on completion
Check your website's HTTP status code
Check now →