[BUG] Max 5x account cannot be authenticated in Claude Code subscription
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?
When logging in with Claude Code subscriptions by opening the link in Chrome (e.g., https://claude.com/cai/oauth/authorize?code=true&client_id=<mask>&response_type=code&redirect_uri=https%3A%2F%2Fplatform.claude.com%2Foauth%2Fcode%2Fcallback&scope=org%3Acreate_api
_key+user%3Aprofile+user%3Ainference+user%3Asessions%3Aclaude_code+user%3Amcp_servers+user%3Afile_upload&code_challenge=<mask>&code_challenge_method=S256&state=<mask>), the page raises "Claude Max or Pro is required to connect to Claude Code, Sign up for a Max or Pro subscription to connect your account, or use your API key.".
What Should Happen?
I have the Max 5x account. The browser has it already logged in the account. It should direct me to get code so I can paste it back into the terminal.
Error Messages/Logs
Claude Max or Pro is required to connect to Claude Code
Sign up for a Max or Pro subscription to connect your account, or use your API key.
Steps to Reproduce
- Type
claudein PowerShell - Pick " Claude account with subscription · Pro, Max, Team, or Enterprise"
- Type
cto copy the link and open it in a browser - The page raises "Claude Max or Pro is required to connect to Claude Code
Sign up for a Max or Pro subscription to connect your account, or use your API key."
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.1.186
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
Claude Code always raises "invalid API token" without regular patterns, in days or weeks. Previously, I had to log in again. However, this time, I cannot even authenticate anymore.
I am a researcher leveraging Claude Code to help my daily work and do not programmatically use it in any way. The interruption really affects my workflow, and I have to transfer to alternatives.
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Still hitting this exact issue on Claude Code v2.1.200 (VS Code extension), Windows. Confirmed active Pro subscription (billed within the last 24 hours), fully uninstalled/reinstalled the extension with a clean storage folder, restarted the machine entirely — same "Claude Max or Pro is required to connect to Claude Code" message every time, no OAuth scope error shown this time, just straight to this screen. Since this issue is marked closed but the exact symptom is still reproducing on a newer version than originally reported (2.1.186), wanted to flag that whatever fix landed doesn't seem to have resolved it for everyone.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.