Skip to main content
Back to Home

HTTP Code: 202 (Accepted)

HTTP Status Code Reference

Status Category

2xxSuccess

Meaning & Definition

The request has been accepted for processing, but the processing has not been completed.

Common Causes

  • Asynchronous background job queueing
  • Batch data processing tasks

How to resolve HTTP code errors

1. Inspect Logs: Check server logs (e.g. error.log) to locate runtime exceptions or database disconnects.

2. Test Endpoint: Use our Uptime Checker or redirects prober to verify response headers and payload size.

3. Configure Rules: Implement custom redirect rules or error fallback paths below in Nginx/Apache config.

Nginx Configuration Setup

# Return 202 for queued async endpoint
location /api/async-job {
  return 202 '{"status":"queued"}';
}

Apache Configuration Setup

Header set Status "202 Accepted"