Skip to content

Headroom 0.8.2, claude and Pro API failed #3998

@pprados

Description

@pprados

Describe the bug
headroom wrap claude with pro license, generate an authenfication error.

uvx --from headroom-ai headroom wrap claude

  ╔═══════════════════════════════════════════════╗
  ║            HEADROOM WRAP: CLAUDE              ║
  ╚═══════════════════════════════════════════════╝

  Proxy already running on port 8787
  Setting up rtk...

  Launching Claude Code (API routed through Headroom)...
  ANTHROPIC_BASE_URL=http://127.0.0.1:8787

 ▐▛███▜▌   Claude Code v2.1.116
▝▜█████▛▘  Opus 4.7 (1M context) · Claude Max
  ▘▘ ▝▝    ~/workspace/pysandboxes

❯ bonjour                                                                                                                                                                
  ⎿  Please run /login · API Error: 401 {"error":{"message":"Authentication Error, Invalid proxy server token passed. Received API Key = sk-...kwAA, Key Hash (Token) 
     =XXXX. Unable to find token in cache or                                                                 
     `LiteLLM_VerificationTokenTable`","type":"token_not_found_in_db","param":"key","code":"401"}}                                                                     
                                                                                                                                                                         
✻ Sautéed for 3m 9s         

To Reproduce
Steps to reproduce the behavior:

  1. Have un claude pro licence
  2. Test claude without headroom
  3. Test claude with headroom wrape claude

Expected behavior
Claude answer hello

Additional context
Same usage of the previous version

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions