Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
API ErrorsArea: what it touches
Internal ChangesKind: in v2.1.337,
Internal ChangesSection of the release
Unclear It is not clear which code path sends this error kind or whether that path is switched on.
What
Claude 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.
It 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:
a status of 400, 403, 422 or a 5xx server error
no request id
no cause Claude Code recognises
Why
Apps 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.
Read from
Names in the bundlecheck_refused_on_route
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which code path sends this error kind or whether that path is switched on.