Bad auth tokens and custom headers now each get a message naming the exact value to fix.
What's wrong with this entry?
Three specific one-line messages replace a single generic one, so a bad value points at its own source: "Invalid auth token · Fix external auth token", "Invalid ANTHROPIC_CUSTOM_HEADERS · Fix the environment variable", and "Invalid request header from the environment · Fix the environment variable".
- Which message you get depends on whether the offending value came from
ANTHROPIC_CUSTOM_HEADERSor from another header source.
Invalid ANTHROPIC_CUSTOM_HEADERS · Fix the environment variable
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.223
api.anthropic.com and api-staging.anthropic.com are accepted as trusted OAuth origins
Both mention custom auth