[BUG] /switch-account then /account-usage displays old account name but new account usage till refresh
Resolved 💬 1 comment Opened Jun 2, 2026 by mohamed99akram Closed Jun 2, 2026
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 I switch account and login using another one, then verify account by /account-usage, I find the old account name but the new account usage and quota. I then have to reload vscode window for the new name to appear.
What Should Happen?
The new account name should appear
Error Messages/Logs
Steps to Reproduce
- Start typing
/Switchand choose Switch Account - Login using another account
- Start typing
/accountand choose Account & Usage - You will find the old account name and email
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.150 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗