Anatomy
Error 522 means the edge reached the origin but the TCP handshake never completed — the origin was there and not there. Clients see a Cloudflare-branded HTML error page, not their API's error format. Error handlers matching on body shape miss these entirely.
Replay it
curl -i https://faultydata.com/r/FD-2026-010
// response appears here
Signature
{Status:522 Headers:map[Content-Type:text/html Server:cloudflare] Body:<!DOCTYPE html><html><body><h1>Error 522</h1><p>Connection timed out</p></body></html> Corrupt: Delay:<nil> Flaky:<nil> Sequence:<nil> Drip:<nil> StallAfter:0 Hang:false Phases:[]}