anthropics / anthropics/claude-code
Bug / Authentication Error.
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
### Preflight Checklist
- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?
I am the Primary Owner of the canceled Team organization associated
with my email address.
Due to the Team plan expiration, my entire account is completely
locked out with the message: "Team plan canceled. You can no longer
chat with Claude."ORGANIZATION ID:
359ee07c-e5fe-4063-b645-b6c547e3deb9
CRITICAL ISSUE: I have an active personal Claude Max subscription on
this exact same email account, and I cannot access my data, projects,
or chats because this canceled corporate workspace is blocking my
login state. Since I am the owner,
I cannot leave the organization or delete it from the dashboard.Please
urgently delete or detach the organization ID
359ee07c-e5fe-4063-b645-b6c547e3deb9 from my email profile so I can
access my Max plan data. I cannot afford to lose my Max subscription
history.
Thank you,
### What Should Happen?
### Error Messages/Logs
```shell
```
### Steps to Reproduce
{
"user_profile": {
"email": "USER_EMAIL_ADDRESS",
"active_subscriptions": ["claude_max_personal"]
},
"organizations": [
{
"org_id": "359ee07c-e5fe-4063-b645-b6c547e3deb9",
"role": "Primary Owner",
"status": "Canceled / Expired",
"plan": "Team"
}
],
"system_bug_state": {
"routing_priority": "Enforces expired corporate org status over active personal subscription",
"ui_restriction": "Hard lockout overlay enabled; workspace switching disabled"
}
}
### Claude Model
None
### Is this a regression?
Yes, this worked in a previous version
### Last Working Version
_No response_
### Claude Code Version
v2.1.267
### Platform
Anthropic API
### Operating System
macOS
### Terminal/Shell
Terminal.app (macOS)
### Additional Information
Please manually delete, archive, or completely detach Organization ID 359ee07c-e5fe-4063-b645-b6c547e3deb9 from this email profile on the backend database so the login routing can default back to the active personal Max subscription workspace.
Contributor guide
No contributing guide indexed for this repository
Research direction
No repository file, test, or entry point is named. Start by determining whether the reported organization and subscription lockout is implemented in this repository or requires backend account intervention, using the reported version, platform, organization state, and lockout message. Done means the active personal subscription is accessible without losing data, or the issue is routed to the responsible service.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication, backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100