While using it, API 401 errors appear. Even after I log out and log in, the same errors pop up.
Status Fixed / completed
Maintainer reply None cached
Activity 30 comments · opened Jul 10, 2025 · closed Jul 10, 2025
Bug Description
while using it, API Error appears
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"Invalid OAuth token. The provided token was not found or is malformed."}}
Environment Info
- Platform: darwin
- Terminal: intellij
- Version: 1.0.44
- Feedback ID: ca60401a-8d5d-4df1-95cb-f73f6ba82f24
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at wD (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n at file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:9350\n at Q (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n at uC (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:8496)\n at hC (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:7361)\n at wB (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:11970)","timestamp":"2025-07-10T00:59:20.028Z"},{"error":"Error: 401 {\"type\":\"error\",\"error\":{\"type\":\"authentication_error\",\"message\":\"Invalid OAuth token. The provided token was not found or is malformed.\"}}\n at D6.generate (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1304:12612)\n at gq.makeStatusError (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:2100)\n at gq.makeRequest (file:///Users/hyunchul/.nvm/versions/node/v22.13.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:5311)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-10T01:00:03.570Z"}]
30 Comments
+1, experimenting same issue
+1, experimenting same issue
Seems systemwide...
same
+1, experimenting same issue
+1
Yep, same issue here.
Yep, same issue here.
same
Same issue here.
Can't live without Claude Code nowadays. Please fix.
yep same issue
same issue here
Me too. :(
same issue
same issue seems like its down right now lol
same
Do we agree this is worse than the CrowdStrike issue?
claude gently telling us all it's time to touch some grass
same
same issue
samedt
+1
+1
same issue
OOOH, its back up!
seems like it's back friends, go back to vibe code 😄
back
Thank you for letting me know
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.