Preflight Checklist
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=&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=&code_challenge_method=S256&state=), 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
claude in PowerShell
- Pick " Claude account with subscription · Pro, Max, Team, or Enterprise"
- Type
c to 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.
Preflight Checklist
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=&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=&code_challenge_method=S256&state=), 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
claudein PowerShellcto copy the link and open it in a browserSign 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.