[BUG] Request failed with status code 403" error. Claude Max
Resolved 💬 10 comments Opened May 7, 2025 by rbrinkke Closed Jan 7, 2026
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: 0.2.103 (Claude Code)
- Operating System: Linux (based on your terminal prompt showing "appuser@ubuntu-8gb-nbg1-1")
- Terminal: Bash terminal
- Node version: v18.19.1
- npm version: 9.2.0
ip 91.99.25.251
Bug Description
When trying to authenticate with Claude Code CLI, the browser authentication flow fails with a 403 error. After entering the authentication code, I receive a "Request failed with status code 403" error.
Steps to Reproduce
- Run the
claudecommand to start Claude Code - Authentication flow begins and provides URL
- After entering the authentication code, receive: "OAuth error: Request failed with status code 403"
- Pressing Enter to retry results in the same error
Expected Behavior
Authentication should complete successfully and Claude Code should launch.
Actual Behavior
Authentication fails with "OAuth error: Request failed with status code 403" after entering the authorization code.
Additional Context
The exact error message is:
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗