Claude Code responding with 401 across multiple machines even though login flow (Max plan), desktop, web apps work.
Status Closed — duplicate
Maintainer reply None cached
Activity 13 comments · opened Jul 10, 2025 · closed Jul 10, 2025
Bug Description
Getting the following error on multiple machines:
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"Invalid
OAuth token. The provided token was not found or is malformed."}}
Persists after /logout & /login, deleting credential from macOS keychain and running /login, closing and restarting terminal. /doctor reports no issues, the npm package is up to date. I am still a Max plan subscriber and claude works fine in the Desktop and web app. Many others are reporting this issue on Twitter, Reddit, and Github.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 1.0.44
- Feedback ID: 4d1d806a-d832-4893-a49e-8db1735f85d2
Errors
{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid OAuth token. The provided token was not found or is malformed.\"}}
13 Comments
same issue here
me too
same issue too
me too
and me too
+1
Same issue
+1
I've been having this issue starting today.
me too
me toooo
Rollback to version 1.0.43. This fixed it for me.
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.