{"version":"2.1.337","anchor":"relay-refusal-header-recognised-for-403s","canonical_anchor":"relay-refusal-header-recognised-for-403s","heading":"Remote sessions tell approval-needed and network-off refusals apart more reliably","tier":"notice","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/relay-refusal-header-recognised-for-403s","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Remote sessions tell approval-needed and network-off refusals apart more reliably\n\nWhen a request is refused as forbidden, Claude Code now also reads the `x-ccr-relay-refusal` header to see whether approval is needed or the network is off\n\n**What**\n\nWhen a server refuses a request as forbidden (an HTTP 403 response), Claude Code now also checks a response header called `x-ccr-relay-refusal`. That header can say:\n\n- `approval-required`: the request needs approval.\n\n- `network-off`: network access is switched off.\n\nBefore, Claude Code worked this out only from the text in the response.\n\n**Why**\n\nRemote and relayed sessions can tell these two kinds of refusal apart more reliably and respond to each correctly.\n\n- Area: Sessions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}