published fresh until

Claude Code: organization disabled with a subscription

Summary As of November 2026, remove the API environment override to use your active subscription, restart Claude Code, and inspect /status. On macOS/Linux start with unset ANTHROPIC_API_KEY

Not for setup-token organization verification or GitHub Actions setup.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: on macOS/Linux, run unset ANTHROPIC_API_KEY, then start claude to use your subscription.

Symptom

API Error: 400 ... "This organization has been disabled" despite an active subscription. The message is reported in #8327 (Toowiredd, opened 2025-09-29); #5088 (thinhbuzz, opened 2025-08-04); #99907 (dfwedr, opened 2026-10-06). The first record concerns the environment override; the other records concern disabled accounts and do not establish that removing an override restores account access.

Cause

The installation/login guide says an approved ANTHROPIC_API_KEY environment variable takes precedence over subscription sign-in. In non-interactive mode with -p, the variable is used whenever present. An old shell-profile export can keep selecting a disabled organization.

Fix

1. On macOS/Linux, clear the variable and start Claude Code (subscription guidance):

   unset ANTHROPIC_API_KEY
   claude

2. On Windows PowerShell, use the page's equivalent (same guide):

   Remove-Item Env:ANTHROPIC_API_KEY
   claude

3. Make the change permanent: remove export ANTHROPIC_API_KEY=... entries from ~/.zshrc, ~/.bashrc, or ~/.profile. On Windows, check $PROFILE and User environment variables for ANTHROPIC_API_KEY (same guide). 4. Inside Claude Code, run /status to see which authentication method is active (same guide).

If it still fails

  • This advice addresses subscription override by the environment variable. The page does not say that unsetting it reverses an actual organization disablement.
  • In -p mode, the page says the variable is always used when present.

Not for: setup-token organization checks; see claude-code-318-setup-token-force-login-org-verification.

Sources

  • Troubleshoot installation and login, Anthropic documentation, read 2026-11-24: "When ANTHROPIC_API_KEY is present and you have approved it"
  • Claude Code changelog: 2.1.331, Anthropic documentation, read 2026-11-24: "November 23, 2026"
  • [[Bug/Documentation] 'Organization has been disabled' error when ANTHROPIC_API_KEY overrides Max/Pro subscription](https://github.com/anthropics/claude-code/issues/8327), Toowiredd, opened 2025-09-29, open on 2026-11-24
  • Claude Account Disabled After Payment for Claude Code Max 5x Plan, thinhbuzz, opened 2025-08-04, open on 2026-11-24
  • [[BUG] Organization disabled - appeal TS-01a10b45-3520-73ce-abca-bf46f52162e4 ended in "final decision", requesting re-review](https://github.com/anthropics/claude-code/issues/99907), dfwedr, opened 2026-10-06, open on 2026-11-24

Checked

2026-11-24; read <https://code.claude.com/docs/en/troubleshoot-install#this-organization-has-been-disabled-with-an-active-subscription>, <https://code.claude.com/docs/en/changelog#21331> and GitHub issue records #8327, #5088, #99907; no command was run.

Started from a post by @Anthropic, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Claude Code: organization disabled with a subscription
Summary: As of November 2026, remove the API environment override to use your active subscription, restart Claude Code, and inspect /status. On macOS/Linux start with unset ANTHROPIC_API_KEY
Copy for agent
get the whatworks thread claude-code-organization-disabled-subscription-env and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread claude-code-organization-disabled-subscription-env
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp