Skip to content

Token exchange failed: Forbidden when running happy connect claude #897

@wangxipeng88

Description

@wangxipeng88

Description

Running happy connect claude fails with "Token exchange failed: Forbidden" error. This was working previously but has recently stopped working.

Steps to Reproduce

  1. Run happy connect claude in terminal
  2. Browser opens Claude OAuth authorization page
  3. After authorization, callback returns to localhost:54545/callback with a code
  4. Token exchange fails with "Forbidden"

Error Output

🔌 Connecting Anthropic to Happy cloud

🚀 Registering Anthropic token with server
🚀 Starting Anthropic Claude authentication...
📡 Using callback port: 54545
📋 Opening browser for authentication...

❌ Failed to authenticate with Anthropic
Error: Token exchange failed: Forbidden

Environment

  • happy-coder version: 0.13.0
  • Claude Code version: 2.1.81
  • OS: macOS Darwin 25.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions