Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.131 ·

Clearer API Authentication Error

Entry
JSON All of v2.1.131
EntryKind: in v2.1.131,
ChangesSection of the release
What

When the bundled Anthropic API client cannot resolve credentials, the error now says it expects either apiKey or authToken, instead of listing removed credential/profile/config options.

Usage
ANTHROPIC_API_KEY=... claude
Details
  • This makes auth failures less misleading for users who hit lower-level API-client errors.
  • The new message points users toward API key or bearer-token authentication.
  • The previous message referenced credentials, config, and profile; those are no longer listed in the failure text.
Evidence

Authentication validation message changed (search for "Could not resolve authentication method. Expected either apiKey or authToken to be set").

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

Feedback