Cloud & DevOps

Cloudflare Error Codes

Cloudflare sits between visitors and the origin server, so a 5xx page can come from the edge, the origin, or the connection between them. These pages cover the 500, 520 and 522 errors that website owners and support teams troubleshoot most often, with the exact origin checks Cloudflare documents.

3 codes Source: Cloudflare 5xx errors Last verified 2026-11-17
3 codes
CodeWhat it meansSeveritySource
500 Internal Server Error
The origin web server could not complete the request.
error Cloudflare 5xx errors: Error 500
520 Web Server Returned an Unknown Error
The origin returned an empty, unknown or malformed response.
error Cloudflare 5xx errors: Error 520
522 Connection Timed Out
Cloudflare could not open a TCP connection to the origin in time.
error Cloudflare 5xx errors: Error 522

Common Cloudflare codes

How to read Cloudflare codes

Start with the exact code and the context in which it appeared. A code is only a label: the same value can mean different things in different products, versions, or components. Use the quick answer and the official source on the detail page to confirm the meaning before changing a configuration or deleting data.

If the code is new to you, search this page first, then open the detail page for causes and step-by-step fixes. When a fix requires administrator rights, a reboot, or a data-destructive action, the page will say so explicitly.

Found a mistake or a missing code?

Send us the product, code, and official source. We review every correction before publishing.

Suggest a correction