claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Anthropic API Error: Client Closed Request (499)

Open fwends opened this issue 3 months ago • 4 comments

This is not usable so far today i've hardly done any work this again is just broken don't you guys test anything? Bug Description ⎿  API Error: 499 {"error":"Client closed request"}

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.0.1
  • Feedback ID: 2753e770-2cb6-4bbd-9123-bc1cad4bc363

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/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:899:3212","timestamp":"2025-10-01T00:24:52.215Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n    at Socket.onChildStdout (node:child_process:482:14)\n    at Socket.emit (node:events:507:28)\n    at Socket.emit (node:domain:489:12)\n    at addChunk (node:internal/streams/readable:559:12)\n    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n    at Readable.push (node:internal/streams/readable:390:5)\n    at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-10-01T00:24:52.559Z"}]

fwends avatar Oct 01 '25 04:10 fwends