{"version":"2.1.326","anchor":"cloudflare-52x-errors-now-treated-as-retryable","canonical_anchor":"cloudflare-52x-errors-now-treated-as-retryable","heading":"Cloudflare 520 to 524 errors are now retried","tier":"notice","area":"API","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/cloudflare-52x-errors-now-treated-as-retryable","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Cloudflare 520 to 524 errors are now retried\n\nRequests that fail with HTTP status 520, 521, 522, 523 or 524 are now retried, alongside 502, 503, 504 and 507\n\n**What**\n\nSome server errors are temporary, so Claude Code tries the request again instead of giving up. The list of error codes it retries used to be 502, 503, 504 and 507. It now also includes 520, 521, 522, 523 and 524, which Cloudflare returns when it cannot reach the server behind it.\n\n**Why**\n\nIf you connect through a service that sits behind Cloudflare, short outages should now cause fewer failed requests.\n\n- Area: API\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}