Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.312 ·

Fewer needless re-login prompts when a credential was held back on purpose

A rejected request whose credential was deliberately withheld no longer triggers a token refresh or the sign-in failure path

You'll notice Bug Fixes
JSON All of v2.1.312
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
Bug FixesKind: in v2.1.312,
Bug FixesSection of the release
What

When a server answers a request with a 401 error, which means "not authorized", Claude Code tries to recover by refreshing your sign-in. It now tells two cases apart:

  • Withheld: the request was sent without a credential on purpose.
  • Refused: a credential was sent and the server rejected it.

Only the refused case is treated as a real sign-in failure. When Claude Code tries to create a code session and gets a 401 for a withheld credential, it now gives up quietly instead of running its sign-in failure handling.

Why

A 401 caused by a credential that was held back on purpose says nothing about whether your sign-in is still good. Treating it as a failure could prompt you to sign in again for no reason, and this change should cut down on those prompts.

See this entry in the whole of v2.1.312 →

Feedback