Unclear It is not known whether the ANTHROPIC_BASE_URL change check is switched on for any given account.
What
Claude Code now checks more closely that a session keeps the sign-in and the address it started with. When something does not match, it explains why more precisely.
- Sessions now give separate "Nothing was sent" reasons when the sign-in has changed. The reasons are: you signed out, you moved to another organization, the organization has no name, a key, token or provider overruled the sign-in, or
ANTHROPIC_BASE_URLchanged from what Claude Code was started with.ANTHROPIC_BASE_URLis the address Claude Code sends its requests to. Before, only a few broad reasons existed, such as admin, settings_unloaded and session_owner. Spotting a changedANTHROPIC_BASE_URLsits behind thetengu_moored_lanterngate, and nothing has been read about that gate. - A launcher is a program that starts Claude Code and manages its sign-in. When a launcher supplies
apiKeyHelper, the command that produces the API key, the errors now name the cause. One saysANTHROPIC_API_KEYis set and should be unset in the launcher. Another covers theCLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESHcase. A third reports an authorization or x-api-key line inANTHROPIC_CUSTOM_HEADERS. Before, one generic message covered all of these. A new check also controls whetherapiKeyHelperfrom project and local settings is used while launcher sign-in is active. - In the desktop app's Code tab, the desktop app can replace
ANTHROPIC_BASE_URL. When it does, environment values from settings now drop model-related variables, such as non-Claude model names, and dropCLAUDE_CODE_AUTO_COMPACT_WINDOWvalues under a threshold. Keys that would lift a refusal are removed, such asANTHROPIC_API_KEY,ANTHROPIC_AUTH_TOKENandANTHROPIC_CUSTOM_HEADERS. In some casesDISABLE_TELEMETRY=1is set.
Why
If a session refuses to send, the message now says what changed, so you know whether to sign in again, restart, or fix the launcher setup. In the desktop Code tab, some environment values from your settings may no longer take effect.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not known whether the `ANTHROPIC_BASE_URL` change check is switched on for any given account.