[Bug] Anthropic API Error: Request Size Limit Exceeded (413)

Resolved 💬 3 comments Opened Nov 2, 2025 by origamee Closed Nov 6, 2025

Bug Description
 API Error: 413 {"error":{"type":"request_too_large","message":"Request exceeds the maximum size"}}

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.93
  • Feedback ID:

Errors

[{"error":"Error: Failed to install new version of claude:  (node:74621) ExperimentalWarning: CommonJS module /opt/homebrew/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /opt/homebrew/lib/node_modules/npm/node_modules/supports-color/index.js using require().\nSupport for loading ES Module in require() is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\nnpm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code' -> '/opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V'\nnpm error A complete log of this run can be found in: /Users/smasud/.npm/_logs/2025-10-30T14_43_01_805Z-debug-0.log\n    at y31 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1635:392)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3541:10962)","timestamp":"2025-10-30T14:43:07.394Z"},{"error":"Error: Failed to install new version of claude:  (node:78158) ExperimentalWarning: CommonJS module /opt/homebrew/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /opt/homebrew/lib/node_modules/npm/node_modules/supports-color/index.js using require().\nSupport for loading ES Module in require() is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\nnpm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code' -> '/opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V'\nnpm error A complete log of this run can be found in: /Users/smasud/.npm/_logs/2025-10-30T15_43_01_428Z-debug-0.log\n    at y31 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1635:392)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3541:10962)","timestamp":"2025-10-30T15:43:06.349Z"},{"error":"Error: Failed to install new version of claude:  (node:78959) ExperimentalWarning: CommonJS module /opt/homebrew/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /opt/homebrew/lib/node_modules/npm/node_modules/supports-color/index.js using require().\nSupport for loading ES Module in require() is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\nnpm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code' -> '/opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V'\nnpm error A complete log of this run can be found in: /Users/smasud/.npm/_logs/2025-10-30T17_11_57_652Z-debug-0.log\n    at y31 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1635:392)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.current (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3541:10962)","timestamp":"2025-10-30T17:11:58.434Z"},{"error":"Error: Failed to install new version of claude:  (node:79034) ExperimentalWarning: CommonJS module /opt/homebrew/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /opt/homebrew/lib/node_modules/npm/node_modules/supports-color/index.js using require().\nSupport for loading ES Module in require() is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\nnpm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/opt/homebrew/lib/node_modules/@anthropic-ai/claude-code' -> '/opt/homebrew/lib/node_modules/@anthropic-ai/.claude-code-2DTsDk1V'\nnpm error A complete log of this run can be found in: /Users/smasud/.npm/_logs/2025-10-30T18_18_57_454Z-debug-0.log\n    at y31 (file:///opt/homebrew/lib/node_modules/@a

Note: Error logs were truncated.

View original on GitHub ↗

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