[BUG] OAuth error: Request failed with status code 500
Open 💬 16 comments Opened Apr 6, 2026 by fazxes
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?
OAuth error: Request failed with status code 500
What Should Happen?
should login me in
Error Messages/Logs
Steps to Reproduce
OAuth error: Request failed with status code 500
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
OAuth error: Request failed with status code 500
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
16 Comments
Same here
Same
Same here..
<img width="636" height="188" alt="Image" src="https://github.com/user-attachments/assets/436876f2-d220-4fac-ba05-53d9cf7f8696" />
Same
same
so fuckin annoying
same here, Claude keeps trying to make me go to the console and pay them more money in API key format to use the service.
Even though I have The Ultra Gillet Fusion Max plan and Have over €200 in my sub account for extra usage. WTAF!! WTF WTF
same here
same
Guys, just like (thumbs up) the first post in an issue ... having X number of "same" is not helping
Update - This issue additionally affects login on other surfaces, such as Claude.code.
Apr 06, 2026 - 15:54 UTC
Identified - We have identified an issue resulting in elevated errors on Claude.ai, including desktop and mobile. Users may experience errors when attempting to login, engaging with voice mode, or completing chats with Claude. We are working to resolve this issue as soon as possible.
Apr 06, 2026 - 15:45 UTC
Same issue here on macOS (M4), Claude Code v2.1.92.
Tried:
Errors:
Seems not network-related.
Same happening here. I use Google, and it's no longer processing the google auth either. Its going directly into the Anthropic login, resulting in error 500. Also saw 400, and 401 too. And sometimes, internal error on anthropic login attempt.
same here on my terminal
<img width="447" height="395" alt="Image" src="https://github.com/user-attachments/assets/28fb33e7-a070-4dbe-b245-9b90139df086" />
there is an outage from their server
https://status.claude.com/#
<img width="2048" height="1326" alt="Image" src="https://github.com/user-attachments/assets/6d5c24be-f979-4f88-8894-634223bfec05" />
I'm experiencing the same issue. Here are my repro steps / what I've tried.
Claude Code OAuth 500 Error — Token Exchange Fails After Successful Browser Auth
Environment
Claude Code: v2.1.92
macOS: Sonoma 14.1.1
Shell: zsh (iTerm2)
Browser: Safari (also tested Arc)
Plan: Claude Max
Summary
OAuth login consistently fails with a 500 error during the token exchange step, even though the browser side completes successfully (platform.claude.ai shows "You're all set up for Claude Code. You can now close this window.").
Steps to reproduce
Run claude in terminal — CLI reports expired OAuth token (401)
Run /login inside Claude Code session
Browser opens platform.claude.ai, user authenticates via Google successfully
Browser shows success page: "You're all set up for Claude Code. You can now close this window."
CLI returns: OAuth error: Request failed with status code 500
What I tried
Tested in both Arc and Safari — same result
Deleted all Claude-related credentials from macOS Keychain Access (3 entries)
Confirmed no ~/.claude/auth.json exists
Reproduced consistently across multiple attempts
claude.ai web login works fine in both browsers
Anthropic status page shows all systems operational
Expected behavior
CLI captures the OAuth callback and stores credentials after browser auth completes.
Actual behavior
CLI returns 500 despite browser showing successful auth. No auth.json is created. Often times the OAuth path fails due to a 15000ms time out.
fixed now!!