[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

  1. Run the claude command to start Claude Code
  2. Authentication flow begins and provides URL
  3. After entering the authentication code, receive: "OAuth error: Request failed with status code 403"
  4. 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:

View original on GitHub ↗

This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗