HTTP 202 Accepted vs 523 Origin Is Unreachable
HTTP 202 (Accepted) is a 2xx Success response, while 523 (Origin Is Unreachable) is a 5xx Server Error response. 202 indicates that the request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon. In contrast, 523 means that cloudflare-specific. Cloudflare could not reach the origin server (DNS resolution failed or no route).
Description
The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon.
When You See It
For async operations like batch jobs, email sending, or background tasks that take time to complete.
How to Fix
Poll the provided status URL or wait for a callback/webhook.
Description
Cloudflare-specific. Cloudflare could not reach the origin server (DNS resolution failed or no route).
When You See It
When Cloudflare's DNS for the origin fails to resolve.
How to Fix
Verify DNS records in Cloudflare dashboard. Check origin server's IP address.
Key Differences
202 is a 2xx Success response, while 523 is a 5xx Server Error response.
HTTP 202: The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon.
HTTP 523: Cloudflare-specific. Cloudflare could not reach the origin server (DNS resolution failed or no route).
You encounter 202 when for async operations like batch jobs, email sending, or background tasks that take time to complete.
You encounter 523 when when Cloudflare's DNS for the origin fails to resolve.
When to Use Which
For 202 (Accepted): Poll the provided status URL or wait for a callback/webhook. For 523 (Origin Is Unreachable): Verify DNS records in Cloudflare dashboard. Check origin server's IP address.