Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Reworded fix-it advice when ANTHROPIC_PROFILE names an invalid profile

The suggested fix shown when ANTHROPIC_PROFILE is not a valid profile name is now worded differently

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

ANTHROPIC_PROFILE is the environment variable (a setting you put in your shell before starting Claude Code) that names the Anthropic profile to sign in with. When it names a profile that is not valid, Claude Code shows an error and suggests a fix. That suggestion is now worded differently. It previously read "Correct or unset ANTHROPIC_PROFILE then restart", and it now starts with "Correct or " followed by wording shared with other errors of the same kind.

Why

This is a small change to the message text. The way to recover is the same: fix or remove the profile name and start Claude Code again.

Read from
Names in the bundleANTHROPIC_PROFILE
What the documentation says

See this entry in the whole of v2.1.331 →

Feedback