Invalid API key · Please run /login

Resolved 💬 3 comments Opened Aug 28, 2025 by sexycoke Closed Aug 31, 2025

Bug Description

Environment Info

  • Platform: darwin
  • Terminal: ssh-session
  • Version: 1.0.84
  • 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 tW (unknown:1:28)\n    at <anonymous> (/$bunfs/root/claude:802:6460)\n    at processTicksAndRejections (native:7:39)\n    at spawnSync (unknown)\n    at spawnSync (node:child_process:226:22)\n    at execSync (node:child_process:275:109)\n    at Z (/$bunfs/root/claude:1377:1572)\n    at Qr9 (/$bunfs/root/claude:1377:1750)\n    at Vr9 (/$bunfs/root/claude:1377:2284)\n    at Vr9 (/$bunfs/root/claude:1377:2340)","timestamp":"2025-08-28T07:28:42.856Z"},{"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 tW (unknown:1:28)\n    at <anonymous> (/$bunfs/root/claude:802:6460)\n    at processTicksAndRejections (native:7:39)\n    at spawnSync (unknown)\n    at spawnSync (node:child_process:226:22)\n    at execSync (node:child_process:275:109)\n    at Z (/$bunfs/root/claude:1377:1572)\n    at Qr9 (/$bunfs/root/claude:1377:1750)\n    at Vr9 (/$bunfs/root/claude:1377:2284)\n    at Vr9 (/$bunfs/root/claude:1377:2340)","timestamp":"2025-08-28T07:28:42.861Z"},{"error":"RangeError: stdout maxBuffer length exceeded\n    at unknown\n    at onData (node:child_process:153:110)\n    at emit (node:events:95:22)\n    at addChunk (internal:streams/readable:265:47)\n    at readableAddChunkPushByteMode (internal:streams/readable:243:18)\n    at handleNumberResult (internal:streams/native-readable:69:18)\n    at <anonymous> (internal:streams/native-readable:43:68)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-08-28T07:28:44.044Z"},{"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 tW (unknown:1:28)\n    at <anonymous> (/$bunfs/root/claude:802:6460)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-08-28T07:28:50.351Z"}]

View original on GitHub ↗

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