Invalid API key · Please run /login
Resolved 💬 7 comments Opened Aug 6, 2025 by Mobig9 Closed Jan 8, 2026
Bug Description
Environment Info
- Platform: darwin
- Terminal: ssh-session
- Version: 1.0.69
- 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 file:///Users/mobig/node_modules/@anthropic-ai/claude-code/cli.js:1270:6454","timestamp":"2025-08-06T07:43:16.926Z"},{"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 file:///Users/mobig/node_modules/@anthropic-ai/claude-code/cli.js:1270:6454\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-06T07:44:21.850Z"}]This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗