[BUG] WebFetch tool returns 401 OAuth error after successful login
Status Fixed / completed
Maintainer reply None cached
Activity 6 comments · opened Oct 18, 2025 · closed Oct 20, 2025
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?
- WebFetch tool consistently fails with: `API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is
currently not supported."}`
- Error persists even after
/loginshows "Login successful" - Issue prevents basic web fetching functionality
What Should Happen?
EXPECTED: WebFetch should work after successful authentication
ACTUAL: WebFetch fails with OAuth error despite successful login
Error Messages/Logs
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."},"request_id":"req_011CUEhPdobFiywrLGdt15i2"} · Please run /login
Steps to Reproduce
- Run /login (returns "Login successful")
- Attempt to use WebFetch tool on any URL
- Receive 401 OAuth authentication error
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.22
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
This is a critical bug that breaks core functionality.
6 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I had to downgrade to v2.0.21 to fix it, nothing else worked for me
Seeing also. Feedback ID: 630f1a7a-0030-4745-abdc-08a02adf9d85
FWIW - I'm no longer getting those today on v2.0.23, will see how the day goes by and report back if no issues
No issues on my end today, closing for now
<img width="1803" height="1107" alt="Image" src="https://github.com/user-attachments/assets/274457be-72d4-4358-8bc4-e04ea16a2a11" />
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.