Claude Code v2.1.321 ·
Clear reasons when a session can't run on this machine
Claude Code now explains why a session is refused with a "Your session can't run on this machine" message and a specific cause
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.321,
ImprovementsSection of the release
What
When a session is refused, Claude Code now shows a message starting "Your session can't run on this machine" and names the cause. The causes are:
- A gateway or custom endpoint is in use
- Environment entries in the project change the model provider
- No model usable in auto mode is available
- An experimental-beta setting is turned off
- A compliance policy
A new check on CLAUDE_CODE_USER_DELEGATED_SESSION_DIRECT_API can lead to the reason that no allowed model is available.
Why
Sessions that run for someone else or on hosted machines now get a specific reason when they are turned away, instead of failing without one.
See this entry in the whole of v2.1.321 →