[BUG]Your organization has disabled Claude subscription access for Claude Code · Use an Anthropic API key instead, or ask your admin to enable access
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
suddenly my claude code cli keep on displaying thisYour organization has disabled Claude subscription access for Claude Code · Use an Anthropic API key instead, or ask your admin to enable access
What Should Happen?
just continue using claude code
Error Messages/Logs
Your organization has disabled Claude subscription access for Claude Code · Use an Anthropic API key instead, or ask your admin to enable access
Steps to Reproduce
suddenly claude code starts displaying
Your organization has disabled Claude subscription access for Claude Code · Use an Anthropic API key instead, or ask your admin to enable access
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code v2.1.152
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
So I shouldn't add the exception — it exists. The fix is to deploy the current hook, which the session banner offered. Doing that:
⏺ Bash(node "/Users/charltondho/Developer/projects/episodic-memory/install.mjs" --tool claude-code --project "/Users/charltondho/Developer/projects/episodic-memory" --…)
⎿ Force-overwrote hook: /Users/charltondho/.claude/hooks/checkpoint-gate.sh
Hook already current: /Users/charltondho/.claude/hooks/plan-gate.sh
Hook already current: /Users/charltondho/.claude/hooks/em-recall-sessionstart.sh
… +22 lines (ctrl+o to expand)
⎿ Allowed by auto mode classifier
⏺ Deployed (checkpoint-gate.sh force-overwritten; the rest were already current). Verifying the carve-outs are now live:
Searched for 1 pattern (ctrl+o to expand)
⏺ Your organization has disabled Claude subscription access for Claude Code · Use an Anthropic API key instead, or ask your admin to enable access
✻ Cooked for 2m 22s
❯ whats this Your organization has disabled Claude subscription access for Claude Code · Use an Anthropic API key instead, or ask your admin to enable access
⏺ Your organization has disabled Claude subscription access for Claude Code · Use an Anthropic API key instead, or ask your admin to enable access
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗