{"version":"2.1.337","anchor":"new-typed-api-error-kind-check-refused-on-route-for-self-hos","canonical_anchor":"new-typed-api-error-kind-check-refused-on-route-for-self-hos","heading":"New error kind when a self-hosted runner's network may block auto mode","tier":"internal","area":"API Errors","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/new-typed-api-error-kind-check-refused-on-route-for-self-hos","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### New error kind when a self-hosted runner's network may block auto mode\n\nA new API error kind, `check_refused_on_route`, signals that a self-hosted runner's network may be blocking auto mode's server-side check\n\n**Unclear.** It is not clear which code path sends this error kind or whether that path is switched on.\n\n**What**\n\nClaude Code labels API errors with a kind so that programs built on it can react to them. A new kind, `check_refused_on_route`, is now on that list.\n\nIt applies only to sessions on a self-hosted runner, meaning a machine you run yourself rather than one Anthropic runs. It means something on that machine's network may be blocking the check auto mode makes with Anthropic's servers. The label is a best guess, used when the error has all of these:\n\n- a status of 400, 403, 422 or a 5xx server error\n\n- no request id\n\n- no cause Claude Code recognises\n\n**Why**\n\nApps that host Claude Code through the SDK (the developer toolkit for building on it) can watch for this kind and tell their users that a network path is blocking auto mode, instead of showing a generic failure.\n\n- Area: API Errors\n- Names: `check_refused_on_route`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: no"}