Invalid API key · Please run /login
Resolved 💬 3 comments Opened Aug 22, 2025 by yplassiard Closed Aug 26, 2025
Bug Description
Since claude 1.0.68, I'm unable to log in and use claude code correctly, the claude-code keep saying "Missing API Key". Even if I log back in an the client says login successful, the next /status command shows me Account: Token None.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 1.0.88
- Feedback ID:
Errors
[{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at new iW (unknown:1:28)\n at <anonymous> (/$bunfs/root/claude:774:6460)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-08-22T12:32:53.837Z"},{"error":"Error: Failed to get auth headers: No API key available\n at J3Z (/$bunfs/root/claude:514:28185)\n at J3Z (/$bunfs/root/claude:514:28625)\n at <anonymous> (/$bunfs/root/claude:2347:4571)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-08-22T12:33:35.734Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at new iW (unknown:1:28)\n at <anonymous> (/$bunfs/root/claude:774:6460)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-08-22T12:36:20.190Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗