HTTP 414 URI Too Long vs 523 Origin Is Unreachable
HTTP 414 (URI Too Long) is a 4xx Client Error response, while 523 (Origin Is Unreachable) is a 5xx Server Error response. 414 indicates that the URI provided was too long for the server to process. In contrast, 523 means that cloudflare-specific. Cloudflare could not reach the origin server (DNS resolution failed or no route).
Description
The URI provided was too long for the server to process.
When You See It
When query strings are extremely long or when accidentally sending a request body in the URL.
How to Fix
Shorten the URL. Move long parameters to the request body using POST instead of GET.
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
414 is a 4xx Client Error response, while 523 is a 5xx Server Error response.
HTTP 414: The URI provided was too long for the server to process.
HTTP 523: Cloudflare-specific. Cloudflare could not reach the origin server (DNS resolution failed or no route).
You encounter 414 when when query strings are extremely long or when accidentally sending a request body in the URL.
You encounter 523 when when Cloudflare's DNS for the origin fails to resolve.
When to Use Which
For 414 (URI Too Long): Shorten the URL. Move long parameters to the request body using POST instead of GET. For 523 (Origin Is Unreachable): Verify DNS records in Cloudflare dashboard. Check origin server's IP address.