Skip to content

[BUG] Request failed with status code 403" error. Claude Max #983

Description

@rbrinkke

Environment

  • Platform (select one):
    • 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authautocloseIssue will be closed automaticallybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions