HTTP

HTTP 204 No Content vs 523 Origin Is Unreachable

HTTP 204 (No Content) is a 2xx Success response, while 523 (Origin Is Unreachable) is a 5xx Server Error response. 204 indicates that the server successfully processed the request but is not returning any content. Common for DELETE operations and form submissions that don't need a response body. In contrast, 523 means that cloudflare-specific. Cloudflare could not reach the origin server (DNS resolution failed or no route).

Description

The server successfully processed the request but is not returning any content. Common for DELETE operations and form submissions that don't need a response body.

When You See It

After DELETE requests, PUT updates where no body is needed, or CORS preflight responses.

How to Fix

No fix needed. The action was successful; there is simply no content to return.

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

1.

204 is a 2xx Success response, while 523 is a 5xx Server Error response.

2.

HTTP 204: The server successfully processed the request but is not returning any content. Common for DELETE operations and form submissions that don't need a response body.

3.

HTTP 523: Cloudflare-specific. Cloudflare could not reach the origin server (DNS resolution failed or no route).

4.

You encounter 204 when after DELETE requests, PUT updates where no body is needed, or CORS preflight responses.

5.

You encounter 523 when when Cloudflare's DNS for the origin fails to resolve.

When to Use Which

For 204 (No Content): No fix needed. The action was successful; there is simply no content to return. For 523 (Origin Is Unreachable): Verify DNS records in Cloudflare dashboard. Check origin server's IP address.

Learn More