[Bug] Anthropic API Error: Request Size Exceeds Context Window
Resolved 💬 3 comments Opened Aug 22, 2025 by wolaschka Closed Aug 26, 2025
Bug Description
/clear
⎿ (no content)
progresbar location is wrong '/var/folders/mv/jxxlbc2x1rn9wxwckcchs4vc0000gn/T/TemporaryItems/NSIRD_screencaptureui_Vv7Hmf/Bildschirmfoto 2025-08-23 um 01.11.41.png'
⏺ I'll look at the screenshot to understand the progress bar location issue.
⏺ Read(/var/folders/mv/jxxlbc2x1rn9wxwckcchs4vc0000gn/T/TemporaryItems/NSIRD_screencaptureui_Vv7Hmf/Bildschirmfoto 2025-08-23 um 01.11.41.png)
⎿ Read image (195.4KB)
⎿ API Error: 413 {"type":"error","error":{"type":"invalid_request_error","message":"Request size exceeds model context window"},"request_id":"req_011CSPcw1jaHBKxvgq8Kga6G"}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.89
- Feedback ID: e37d34ce-e9e0-494c-aab1-94e3c8db0c91
Errors
[{"error":"Error: 413 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Request size exceeds model context window\"},\"request_id\":\"req_011CSPcqZdo6LyizAPMiXnnC\"}\n at b4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:926:2680)\n at HP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:2101)\n at HP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:5314)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async NZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27491)\n at async NZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:16486)\n at async qBB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27321)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22275\n at async XD0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:3656)\n at async $e (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22245)","timestamp":"2025-08-22T23:30:30.467Z"},{"error":"Error: 413 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Request size exceeds model context window\"},\"request_id\":\"req_011CSPcw1jaHBKxvgq8Kga6G\"}\n at b4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:926:2680)\n at HP.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:2101)\n at HP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:5314)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async NZ1.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27491)\n at async NZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:16486)\n at async qBB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:27321)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22275\n at async XD0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:3656)\n at async $e (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1898:22245)","timestamp":"2025-08-22T23:31:44.355Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗