[BUG] In the middle of running I get `⎿ API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."}}`
Open 💬 64 comments Opened Aug 16, 2025 by justjustinma
💡 Likely answer: A maintainer (ant-kurt, collaborator)
responded on this thread — see the highlighted reply below.
In the middle of running I get:
⎿ API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."}}
I tried the solution below already:
/logout and log back in.
_Originally posted by @adagradschool in #3624_
I logged out and login again, then tried to resume the conversation, but I still encountered the same error.
64 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
I have the same issue but unlike you I am trying to use Claude Code for the first time via my Claude Pro subscription and meet with this issue. Not the best first impression! 😔
I am experiencing the same issue, API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."}}
This first suggestion worked for me. Basically
rm -rf ~/.claudeandrm ~/.claude.json, then reopen my terminal and followed again claude instruction for Pro Subscription and after that it worked!Tried all these steps but doesn't work.
Just got the subscription. I just want it to work
Same issue
API Error: 401
{"type":"error","error":{"type":"authentication_error","message":"OAuth
authentication is currently not supported."}}
I seem to have found a fix, for Ubuntu and macOS
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently
not supported."}}
@mohammad0720 please try the above fix
Restart your PC
Regards
Gerrit Van Wyk
On Sat, 16 Aug 2025, 10:23 am mohammad0720, @.***>
wrote:
Downgrading to 1.0.73 worked for me.
Re-installing with
npm install -g @anthropic-ai/claude-codeworked for me.worked for me thx!
Worked for me on 2018 mac mini
downgrading worked for me: npm install -g @anthropic-ai/claude-code@1.0.73
Exit also worked on windows
LOL, works for me, thanks 😅!
So overall, after logged in successfully using ``
/login`, just exit claude code using`/exit`, then use`claude`` to have it back on again and you're ready to go!최신버전 깔았는데 왜 이럼 이거? 내 110달러 시발련들아
Yep seems to work for me too
Thank you so much for the workaround!
However, I am on the lower Max Plan and it was not like this before.
---
Expected behavior
After the Opus limit message, the conversation should continue automatically on Sonnet 4 without interruption (this is how it behaved previously).
Actual behavior
Conversation halts with the 401 authentication error shown above.
---
Using the workaround means that I have to do
/exit,claude, and/resumein the middle of every conversation where the model switches, which was something I didn't have to do before. This is mildly infuriating to have tasks interrupted all the time like this.Request
Keeping this issue open. The workaround restores functionality but does not address the root cause.
That worked for me under Windows as well, thank you!
Thank you, only this works well.
worked for me, thx
/exitworked for meI was all pumped up after getting the subscription just to get slapped with this error smh
That worked a few times. But then stopped working. I get this error now on multiple pro accounts, multiple devices, all fully paid pro accounts.
Exactly my thought. I downgraded to 1.0.73 and its working well. Didn't face this issue since yesterday. Already used over 12 hours
Wow, thankyou! That actually worked. SO there is a ... bug ahem
CONFIRMED: This is a bug introduced in 1.0.82 and remains in 1.0.83. 1.0.81 is fine and does not have the bug.
After resisting for months, finally I got subscription and after hours of coding.. I got hit by this issue. No the best onboarding
I also had to downgrade to version 81 npm install -g @anthropic-ai/claude-code@1.0.81
Not a fix, but a patch.
/login
after successful login, close terminal session
open again
works
login twice, it worked
thanks! this worked for me
Temporary. Multiple people have walked this path, and that fix does not hold.
Its a curiously consistent sort of bug, that escalates on a fixed set of rules, each time making harder to keep working after you hit the rate limit:
Curiouser and curiouser...all that escalation in 5 days.
Im receiving this error in all Claude Code Sessions, I tried downgrading but it persists (I also have a Max Plan) :
API Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not
supported."},"request_id":"req_011CSHa1FurUZv2Lu8mxQdXf"}
Environment Info
Platform: darwin
Terminal: Apple_Terminal
Version: 1.0.83
Feedback ID: 1433c0af-44fb-4a46-8ef0-92f9d3ce2580
Errors
[{"error":"Error: 401 {"type":"error","error":{"type":"authentication_error","message":"OAuth authentication is currently not supported."},"request_id":"req_011CSHa1FurUZv2Lu8mxQdXf"}\n at new tW (unknown:1:28)\n at new wY (/$bunfs/root/claude:794:1964)\n at new RW0 (unknown:1:28)\n at generate (/$bunfs/root/claude:794:2456)\n at makeRequest (/$bunfs/root/claude:811:5330)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-08-19T18:49:45.007Z"}]
Running in WSL2 Ubuntu
This didn't work for me
This worked
/login
/exit (quit)
claude
any news
The other thing I tried that worked, was to log into Claude code using your anthropic account, close the terminal window without logging out, then reopening it and it started working without issues using the latest version not needing to downgrade.
Looks like we are getting into superstitions territory here 🙈
You just need to open terminal, auth, close/terminate, re-open
hahaha it actually worked, and the Issue has not appeared again
cp -r ~/.claude ~/.claude_bakcp ~/.claude.json ~/.claude.json_bakWorked for me. I didn't want to lose my sub agents :)
npm install --prefix ~/claude-installation -g @anthropic-ai/claude-code@1.0.84worked for me. I could not log into version 85 at all.Faced the same issue after the login and authentication session. However, exiting and running Claude Code again, solved the issue for me.
TLDR - Type 'exit' in Claude CLI and then run 'claude' in your terminal again.
Exit thing works...
I solved it by starting a new terminal session, which works too.
worked for me . first log out from the account , then log In , then close the existing terminal and start it again.
This should be working better in
1.0.88, which just released. If folks can confirm they're no longer running into this, I'll go ahead and close this issue out tomorrow.Impacted versions are
1.0.82-1.0.87, affecting both main loop execution and sub-agents.For folks unable to upgrade, downgrading to
1.0.81(npm install -g @anthropic-ai/claude-code@1.0.81or the appropriate native installer command) and setting env varDISABLE_AUTOUPDATER=1will also mitigate.I can confirm that the problem "OAuth authentication is currently not supported" disappeared for me in version 1.0.88.
I updated to 1.0.88 and the issue kept appearing! so annoying
still a problem for me.
This worked for me, Thanks.
Still an issue in "Claude 1.0.1405 (2d4b4f) 2025-12-01T17:31:02.000Z"
I logged out and relogged in on the claude desktop app (with claude code now integrated) which didn't help. I can access in the chat side, but the claude code sessions consistently report the error.
Note that the switch to an API key changes your billing from the subscription to token based pricing!
same issue with claude desktop, when u use the code chat, the oauth token expires in like 12 hours, and everytime i have to open new chat, for every 12 hours. Its so irritating.
this should be really fixed, /login does not work in claude for desktop and issuing a /login via terminal is completely messing up the current session
happen just today. maybe it's because of expiring token. tried accessing thru CLI and it works again
On Claude Desktop on Mac, I ran "Help -> Troubleshooting -> Clear Cache and Restart", after doing so the issue was fixed. Not sure if this helps anyone else, but thought I'd share.
Still an issue for me - tried all these fixes
For me, it works when I use the native terminal. When I use Electron applications Auto-Claude or third terminal like Warp, it gives me those exceptions. Maybe it's a problem with Non native terminal In MacOS.
Still an Issie
I haved same issue, I solved it.
Step 1.
rm -rf ~/.claudeStep 2
rm ~/.claude.jsonStep 3
Clear Browser cache (ex. chrome, ie..)
Step 4
Open Terminal and Try Claude ReLogin
Still an issue on Claude Desktop v1.5354.0 (macOS)
Environment:
claude auth statusreturns authenticatedSymptom:
Sending any message in the desktop app UI results in infinite loading with:
What works:
Fixes attempted (none worked):
Help → Troubleshooting → Clear Cache and RestartCache,Code Cache,GPUCachemanuallySession StorageandLocal State~/.claude.jsonand re-authenticated~/Library/Application Support/Claude/claude-code-sessions/Started after automatic update to v1.5354.0 on 2026-04-29.