OAuth authentication fails with 400 error for Pro subscription
Status Fixed / completed
Maintainer reply ✓ Yes — dltn
Activity 5 comments · opened Oct 31, 2025 · closed Oct 31, 2025
💡 Likely answer: A maintainer (dltn, contributor)
responded on this thread — see the highlighted reply below.
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?
Cannot get claude code to authenticate fails with 400 error for Pro subscription
What Should Happen?
Your setup: Linux, Claude Code 2.0.30, Pro subscription
Steps you've tried
Clear authentication and retry:
rm -rf ~/.config/claude-code/auth.json
claude
npm uninstall -g @anthropic-ai/claude-code
npm cache clean --force
npm install -g @anthropic-ai/claude-code
Browser didn't open? Use the url below to sign in:
i got some code once pasted in cli and still got an oauth error 400
Error Messages/Logs
Steps to Reproduce
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.0.30
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Xterm
Additional Information
_No response_
5 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, probably the OAUTH server is down, I have either OAUTH error or 500, both are internal server errors.
I guess we have to wait it out. I tried downgrading claude / updating my browser without success.
same here.
OAuth should be recovering now – https://status.claude.com/incidents/s5f75jhwjs6g
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.