Bug Report
Resolved 💬 3 comments Opened Sep 1, 2025 by dottapper Closed Sep 5, 2025
Bug Description
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.98
- Feedback ID: dd47a221-80f4-438e-991e-27a3e2bf9c70
Errors
[{"error":"MaxFileReadTokenExceededError: File content (36872 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at W1B (file:///Users/harasawamakiko/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1757:432)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Object.call (file:///Users/harasawamakiko/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1752:994)\n at async UM (file:///Users/harasawamakiko/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1757:2956)\n at async file:///Users/harasawamakiko/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1771:1032","timestamp":"2025-09-01T12:06:37.537Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0: all messages must have non-empty content except for the optional final assistant message\"},\"request_id\":\"req_011CShg1uKfp9vKCKccZp6Ff\"}\n at F4.generate (file:///Users/harasawamakiko/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:962:2412)\n at CP.makeStatusError (file:///Users/harasawamakiko/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:2131)\n at CP.makeRequest (file:///Users/harasawamakiko/.nvm/versions/node/v22.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:979:5344)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-09-01T12:22:50.662Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗