Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.227 ·

Bad auth headers reported with their real error code

Bad auth header errors now show the real error code, including keys you set yourself.

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

API errors with code invalid_request_header are now logged the same way as invalid API key errors, showing the actual code rather than falling into generic handling. An API key verification failure is also now recognised when the header at fault is an X-Api-Key you supplied yourself rather than one coming from ANTHROPIC_CUSTOM_HEADERS.

Evidence

invalid_request_header

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.227 →

Feedback