OAuth error: Request failed with status code 500
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?
This issue was reported before, and the ticket was closed in version v2.1.15.
I am currently using v2.1.72.
When I opened Claude to sign in, I was redirected to the Claude authorization page. After that, I got this error, even though the authorization page said “You are all set.”
The same issue also happens when I manually paste the code, if prompted.
If you want, I can also make it sound more professional for a bug report.
<img width="724" height="591" alt="Image" src="https://github.com/user-attachments/assets/0d64f6ea-75b0-449e-a50f-daeefaa56189" />
<img width="724" height="591" alt="Image" src="https://github.com/user-attachments/assets/e5ca0e80-d482-44e8-9b8c-4a855be74776" />
What Should Happen?
I should be logged in normally after clicking on authorize button once claude authorization page pops up.
Error Messages/Logs
If I try to log in using code by pasting it I get this error: OAuth error: timeout of 15000ms exceeded
but if I try to log in without pasting the code I get this error: OAuth error: Request failed with status code 500
Steps to Reproduce
Steps to reproduce:
1.Open the app on version v2.1.72.
2.Start the Sign in with Claude flow.
3.Complete the login/confirmation process in the Claude browser page.
4.Wait to be redirected back to the app.
5.Observe that the app shows an error, even though the Claude confirmation page says “You are all set.”
Also reproducible with manual code entry:
1.Open the app on version v2.1.72.
2.Start the Sign in with Claude flow.
3.When prompted, manually copy and paste the code.
4.Submit the code.
5.Observe the same error.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
v2.1.71
Claude Code Version
v2.1.72
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
55 Comments
Same issue here!
I only started getting it after upgrading to the Max plan... so now that I paid more I can't even use the tool anymore!
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
same here
Same problem here.... I guess we wait for a couple of hours.
Claude thinks it's logged out, and /login fails on timeout
same problem. also get OAuth error: timeout of 15000ms exceeded
They got a timeout of 15s, and because probably a lot of people are retrying they don't meet that timeout.
Same here.
Experiencing the same - either it throws an internal server error or a timeout error.
Welcome to Claude Code v2.1.83
OAuth error: Request failed with status code 500
Same here
It keeps losing my login and asking me to reauthenticate through the browser...
And now in the browser I'm getting Authorization failed Internal server error!
In addition to the model just "pausing" for minutes at a time without generating any tokens.
I swear Anthropic infra is falling apart!
Getting this just now. I'm a max user.
I'm getting this right now. Pro user
Getting this right now - Max user
Getting this symptoms now, Max user, 2.1.92 Claude Code
same on max
same
same
yep, im getting the same issue now. super frustrating. can we get this bug fix prioritized? zero reason that pro/max users should be forced to generate an api key and pay for credits when doing local development and already paying for subscriptions.
Same error here, pro user
same error here, pro account
same, pro account
same - max plan
same - pro
same, pro plan
same here
same with pro
same
same
same
same here, I just signed up for the Pro plan to use Claude Code, but I can't log in.
+1
same
:( same
Today's (06/04/2026) been pretty bad, lots of issues as per their status page
<img width="1117" height="1152" alt="Image" src="https://github.com/user-attachments/assets/8e43a81b-4c24-4558-a39d-37c1dcef0264" />
I am also getting this issue, Claude Pro, Claude Code latest version.
same here, can't login to my terminal, either got error code 500 or 15000
same here
Same here
Same here :(
codex burning tokens x8
claude dead
....
same, anthropic fix it or I'll cancel
Same here
Got passed the issue. I simply removed all the tokens from the claude code auth management (in https://claude.ai/settings/claude-code) and went through the oauth flow again from the terminal.
works now!
works after removing all tokens - confirming
Thank you, it works well!
Oh OK will try that myself.
it's OK now
seems fixed. no clearing of auth tokens necessary
still same ISSUE now
mine just broke, can't remove token either it says can;t do right now, try again later...
the claude ai status page says everything is running fine...
am not sure whats happening....
feel like its high time we start getting local llms up just for backup....
500 or
OAuth error: timeout of 15000ms exceededhappening right now.same here now
i switch to cursor opus, im considering building cursor infrastructure like I did in Claud Code
its OK now