[BUG] Issue logging into Claude Code in VS Code with Pro 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?
Hello Claude Support Team,
I am currently using the Claude Pro plan with my company email address (vanlong.huynh@namitech.io).
However, I am having trouble using Claude Code in Visual Studio Code on Windows via the Claude Code for VS Code extension.
When I try to sign in from the extension and choose “Login with subscription”, the login process completes successfully but redirects me to the Claude Developer Platform instead.
Link oauth: Claude
After that, when I try to use Claude Code inside VS Code, I receive the following error:
Failed to authenticate. API Error: 403 {"error":{"type":"trial_expired","message":"Your trial has expired. Please upgrade to continue using the service."}}
I also tried running /login from the terminal as prompted, but the same error still occurs.
Environment:
- Claude plan: PRO
- Email account: [vanlong.huynh@namitech.io](mailto:vanlong.huynh@namitech.io)
- OS: Windows 11
- IDE: Visual Studio Code 1.110.0
- Extension: Claude Code for VS Code
Could you please help check what might be causing this issue and how I can resolve it?
Thank you very much for your support.
What Should Happen?
Interestingly, one of my colleagues is able to log in and use Claude Code normally with their personal account, so it seems the issue may be related to my Pro subscription or company email account
Error Messages/Logs
Steps to Reproduce
<img width="945" height="832" alt="Image" src="https://github.com/user-attachments/assets/6fccbbf6-1d75-4d3e-9862-ba56086a5710" />
<img width="1568" height="742" alt="Image" src="https://github.com/user-attachments/assets/a2bc6a47-84ca-402c-94e8-60852d0edd39" />
<img width="466" height="437" alt="Image" src="https://github.com/user-attachments/assets/b931fc08-4a07-413b-b370-948732951929" />
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.70
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗