Invalid API key · Please run /login

Resolved 💬 2 comments Opened Jul 10, 2025 by 1145560596 Closed Jul 10, 2025

Bug Description
转让加入房间的时候没有删除ekey

Environment Info

  • Platform: darwin
  • Terminal: intellij
  • Version: 1.0.44
  • Feedback ID:

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:892:11)\n    at execSync (node:child_process:964:15)\n    at wD (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:9350\n    at Q (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n    at uC (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:8496)\n    at hC (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:7361)\n    at wB (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:11970)","timestamp":"2025-07-10T07:56:52.748Z"},{"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:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1312:6439","timestamp":"2025-07-10T07:56:53.978Z"},{"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:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1312:6439\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-10T07:58:49.996Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗