Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.207 Home All releases olderv2.1.206 v2.1.208newer
Claude Code v2.1.207

Claude Design: Auto-Refresh on 401

What

When a Claude Design request returns HTTP 401, the client now automatically attempts a token refresh and retries once before surfacing an error.

Details
  • If the access token has a refresh token available, a single retry with the refreshed credential is attempted.
  • Specific error messages depending on credential type: remote CCR sessions, OAuth token env vars, and interactive sessions each get tailored guidance.
  • The new DesignAuth401Error type carries a wasRetried flag to prevent retry loops.
  • Token values are scrubbed from error messages and response data before surfacing to the user.
Evidence

Auto-refresh retry in Design client (search for "Claude Design authentication failed (HTTP 401)" and "DesignAuth401Error")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.207 →