[Bug] Normal code editing chat encounters unexpected error
Resolved 💬 3 comments Opened Nov 2, 2025 by podarok Closed Jan 11, 2026
Bug Description
I'm not violating Usage Policy. Just a normal chat of changing code, bug
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.31
- Feedback ID: 01423eea-e48c-491d-a884-fb0f313e1425
Errors
[{"error":"AxiosError: Request failed with status code 401\n at uR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:25:1136)\n at IncomingMessage.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:30:9845)\n at IncomingMessage.emit (node:events:520:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at m7A.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:32:2129)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async rp2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3623:15232)","timestamp":"2025-11-02T09:14:55.232Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:440:20)\n at Object.readFileSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n at Ac2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3616:956)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3441:1247)\n at call.next (<anonymous>)\n at Zb5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2743:70234)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async AA1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2743:67291)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2743:66460\n at async _gA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:727:1719)","timestamp":"2025-11-02T09:15:40.393Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at $D (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4413)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4141\n at Array.map (<anonymous>)\n at _F (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4132)\n at JSQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1802:6548)\n at kw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:74:19414)\n at ro (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:42806)\n at v9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38347)\n at nc (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38275)\n at cw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38129)","timestamp":"2025-11-02T10:37:18.210Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at $D (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4413)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4141\n at Array.map (<anonymous>)\n at _F (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1180:4132)\n at JSQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1802:6548)\n at kw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:74:19414)\n at ro (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:42806)\n at v9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38347)\n at nc (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38275)\n at cw (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:76:38129)","timestamp":"2025-11-02T10:39:30.450Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 210417 tokens > 200000 maximum\"},\"request_id\":\"req_011CUiwwya6owtCFfmzfeq9M\"}\n at M4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:205:83066)\n at Ck.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:2117)\n at Ck.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:5330)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async seA.model (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3395:14755)\n at async seA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2743:39781)\n at async hd2 (file:///opt/homebrew/lib/node_modules/@anth
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗