[BUG] API Error: Unable to connect to API: SSL certificate verification failed.
Resolved 💬 2 comments Opened Feb 26, 2026 by anujjpandeykent Closed Mar 26, 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?
Just typed, create a test.py file, and received the issue
What Should Happen?
Unable to connect to API: SSL certificate verification failed. Check your proxy or corporate SSL certificates
If session expired inside VS Code, it does not ask for reauthorized, its just start showing the above error.
Approach tried:
- Restarted VS Code.
- Enabled Disabled Plugin.
- Restarted Plugin.
- Updated Plugin.
Identifier
anthropic.claude-code
Version
2.1.59
Error Messages/Logs
Steps to Reproduce
Create a test.py file.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.59
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗