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 4 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

That's bull that i can't resolve authentication this has asked me to login so many times over and over the last few days it's clearly broken, before the update this was not an issue but you guys introduced yet again MORE problems with releasing more gimmicks

fwends avatar Oct 01 '25 04:10 fwends

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/6806
  2. https://github.com/anthropics/claude-code/issues/8375
  3. https://github.com/anthropics/claude-code/issues/8280

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 01 '25 04:10 github-actions[bot]

[11:29:27 AM] API Error: 499 {"error":"Client closed request"} Even more of it doing this over and over can't get it to work now

fwends avatar Oct 01 '25 04:10 fwends

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 06 '25 10:12 github-actions[bot]

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] avatar Jan 07 '26 10:01 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Jan 14 '26 14:01 github-actions[bot]