Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.329 ·

New error when a sign-in refresh cannot be saved to the macOS Keychain

A token refresh that the macOS Keychain refuses to save now fails with a named error, oauth_refresh_store_refused, and tells you how to fix it

Group of 2 You'll notice Improvements
JSON All of v2.1.329
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.329,
ImprovementsSection of the release

What

Claude Code keeps your sign-in fresh by periodically getting a new access token. On a Mac it stores the token in the macOS Keychain, the system's password store. When the Keychain refuses that write, there is now a dedicated error for it.

  • The error is OAuthRefreshStoreRefusedError. Its message reads: "OAuth access token could not be refreshed: can't save to the macOS Keychain. Unlock it, run claude outside any sandbox, retry, or sign in again".
  • The SDK schema, the description programs use to read Claude Code's output, lists a new API error kind, oauth_refresh_store_refused. It means the Keychain did not take the write, so the refresh token was not sent.

Why

If your sign-in stops refreshing on a Mac, the message now says what went wrong and what to try: unlock the Keychain, run claude outside any sandbox (a restricted environment that can block access to the Keychain), retry, or sign in again. Programs built on Claude Code can check for oauth_refresh_store_refused to handle this case on its own.

See this entry in the whole of v2.1.329 →

Feedback