[BUG] Active Max subscription not recognized — subscriptionType: null, cannot authenticate
Resolved 💬 3 comments Opened Apr 9, 2026 by AndreyVolkovskiy Closed May 22, 2026
Bug description
Claude Code fails to recognize an active Claude Max subscription during authentication. The login flow redirects to the browser, but after completing authentication it shows:
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 auth status confirms the account is recognized but subscriptionType is null:
{
"loggedIn": true,
"authMethod": "claude.ai",
"apiProvider": "firstParty",
"apiKeySource": "/login managed key",
"email": "andrey.volkovskiy@3keys.com",
"orgId": "fbce37a4-08be-42d9-9209-78dea04ab6a1",
"orgName": "Andrey's Individual Org",
"subscriptionType": null
}
The Max subscription is active and fully functional on claude.ai under the same email address.
Steps to reproduce
- Have an active Claude Max subscription on claude.ai (verified in Settings → Billing)
- Run
claude logout(or delete credentials from macOS Keychain) - Run
claude login - Complete browser-based authentication using the same email
- Receive error: "Claude Max or Pro is required to connect to Claude Code"
- Run
claude auth status→subscriptionType: null
Expected behavior
Claude Code should detect the active Max subscription and allow authentication without requiring an API key.
Actual behavior
Authentication completes (account email and orgId are returned correctly), but subscriptionType is null, and Claude Code blocks access with a subscription requirement message.
Troubleshooting already attempted
- Full logout + credential deletion from macOS Keychain (
security delete-generic-password -s "Claude Code-credentials"and-s "Claude Code") - Fresh login after credential wipe — same result
- Upgraded Claude Code from 2.1.89 to 2.1.98 — same result
- Verified subscription is active on claude.ai/settings/billing under the same email
- Subscription is paid directly via claude.ai (not through Apple App Store or Google Play)
- Cleared browser cache and cookies for claude.ai
- Tried logging in from incognito browser window
Environment
- Claude Code version: 2.1.98 (installed via npm)
- OS: macOS 14.4 Sonoma (Build 23E214)
- Node.js: v22.17.0
- npm: 10.9.2
- Shell: zsh
- Subscription: Claude Max (active, paid directly on claude.ai)
- Account email: andrey.volkovskiy@3keys.com
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗