{"version":"2.1.332","anchor":"session-sign-in-pinning-new-nothing-was-sent-error-reason","canonical_anchor":"session-sign-in-pinning-new-nothing-was-sent-error-reason","heading":"Sessions guard their sign-in and API address more strictly, with clearer refusal messages","tier":"notice","area":"Auth","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/session-sign-in-pinning-new-nothing-was-sent-error-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Sessions guard their sign-in and API address more strictly, with clearer refusal messages\n\nClearer refusals when a session's sign-in or ANTHROPIC_BASE_URL changes, specific launcher apiKeyHelper errors, and stricter desktop env handling\n\n**Unclear.** It is not known whether the `ANTHROPIC_BASE_URL` change check is switched on for any given account.\n\n**What**\n\nClaude 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.\n\n- 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_URL` changed from what Claude Code was started with. `ANTHROPIC_BASE_URL` is 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 changed `ANTHROPIC_BASE_URL` sits behind the `tengu_moored_lantern` gate, and nothing has been read about that gate.\n\n- 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 says `ANTHROPIC_API_KEY` is set and should be unset in the launcher. Another covers the `CLAUDE_CODE_SDK_HAS_HOST_AUTH_REFRESH` case. A third reports an authorization or x-api-key line in `ANTHROPIC_CUSTOM_HEADERS`. Before, one generic message covered all of these. A new check also controls whether `apiKeyHelper` from project and local settings is used while launcher sign-in is active.\n\n- 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 drop `CLAUDE_CODE_AUTO_COMPACT_WINDOW` values under a threshold. Keys that would lift a refusal are removed, such as `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN` and `ANTHROPIC_CUSTOM_HEADERS`. In some cases `DISABLE_TELEMETRY=1` is set.\n\n**Why**\n\nIf 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.\n\n- Area: Auth\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}