[BUG] Your account does not have access to Claude Code. Please run /login.
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?
Claude Code allows login successfully but immediately shows "Your account
does not have access to Claude Code. Please run /login." the moment any
message is typed (e.g. "hello"). The issue is NOT with the login flow
itself — authentication completes without error — but Claude Code refuses
to process any input afterward despite a valid active Max 20 subscription.
This has been ongoing for 3 days with zero ability to use the product.
I have paid $250 for this subscription and Claude Code is completely
non-functional.
What Should Happen?
After successfully logging in with a valid Max 20 subscription, Claude Code
should accept and respond to messages normally.
<img width="852" height="272" alt="Image" src="https://github.com/user-attachments/assets/5596b55e-910a-408e-a0f1-6076acc52c1a" />
Error Messages/Logs
"Your account does not have access to Claude Code. Please run /login."
This appears immediately after typing any message, even though login
completed successfully.
Steps to Reproduce
- Open terminal on macOS (zsh)
- Run: claude
- Run: /login — completes successfully, account is recognized
- Type any message e.g. "hello"
- Error appears: "Your account does not have access to Claude Code.
Please run /login."
- Issue repeats on every message regardless of how many times you
re-login
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.97 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
This is a CRITICAL blocker. I have been unable to use Claude Code for
3 full days despite paying $250 for the Max 20 subscription.
Full troubleshooting steps attempted — none resolved the issue:
- Ran /login repeatedly — login succeeds but error appears on first
message every time
- Disconnected account via Claude desktop app (Settings > Account >
Disconnect) and re-authenticated — issue persists
- Uninstalled Claude Code completely
- Cleared all cache and local Claude data (~/.claude removed)
- Reinstalled Claude Code fresh
- Attempted npm reinstall — encountered EACCES permission error on
/usr/local/lib/node_modules/@anthropic-ai
- Attempted reinstall with sudo privileges
- Confirmed billing is in good standing — no overdue invoices,
payment of $250 confirmed
- PURCHASED A BRAND NEW LAPTOP, set it up fresh, installed Claude
Code from scratch — exact same error persists on a machine that
has never had Claude Code installed before
- Claude.ai web and Claude desktop app work normally on the same
account — this is 100% isolated to Claude Code
The fact that this reproduces on a brand new machine rules out any
local environment or configuration issue. This is definitively a
server-side subscription validation bug on Anthropic's end.
This issue has been open since March 4 (#30854) with no official fix
or response from Anthropic. Given the number of affected users and
the severity of the impact, this requires immediate escalation.
Customers are paying for a product they cannot use.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗