[Bug] Anthropic API Error: Unhandled Tool Use Block Without Tool Result
Bug Description
it breaks suddenly like this on 2.0.1 on mac
[Image #1]
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.79: tool_use ids were found without
tool_result blocks immediately after: toolu_01WQLC6hqHBiooULWKWYRyqn. Each tool_use block must have a corresponding tool_result
block in the next message."},"request_id":"req_011CTfW8ihCWEtMz9W4zQbah"}
click that button
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.79: tool_use ids were found without
tool_result blocks immediately after: toolu_01WQLC6hqHBiooULWKWYRyqn. Each tool_use block must have a corresponding tool_result
block in the next message."},"request_id":"req_011CTfW9RgXs4wv86Mj7viES"}
test
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.79: tool_use ids were found without
tool_result blocks immediately after: toolu_01WQLC6hqHBiooULWKWYRyqn. Each tool_use block must have a corresponding tool_result
block in the next message."},"request_id":"req_011CTfWBs2LHZRwqU3LMEVPF"}
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.1
- Feedback ID: 232652a6-49d3-43d3-9d19-3e63f84af15c
Errors
[{"error":"Error: Request was aborted.\n at new W5 (unknown:1:28)\n at new _Y (/$bunfs/root/claude:716:20515)\n at new F2 (/$bunfs/root/claude:716:21301)\n at makeRequest (/$bunfs/root/claude:871:3864)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:51:46.461Z"},{"error":"Error: Request was aborted.\n at new W5 (unknown:1:28)\n at new _Y (/$bunfs/root/claude:716:20515)\n at new F2 (/$bunfs/root/claude:716:21301)\n at makeRequest (/$bunfs/root/claude:871:3864)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:54:57.413Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at umG (/$bunfs/root/claude:3554:671)\n at call (/$bunfs/root/claude:1537:955)\n at lL (/$bunfs/root/claude:978:20805)\n at lL (/$bunfs/root/claude:978:20875)\n at <anonymous> (/$bunfs/root/claude:1615:1330)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:57:58.096Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at umG (/$bunfs/root/claude:3554:671)\n at call (/$bunfs/root/claude:1537:955)\n at lL (/$bunfs/root/claude:978:20805)\n at lL (/$bunfs/root/claude:978:20875)\n at <anonymous> (/$bunfs/root/claude:1615:1330)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:57:58.142Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at umG (/$bunfs/root/claude:3554:671)\n at call (/$bunfs/root/claude:1537:955)\n at lL (/$bunfs/root/claude:978:20805)\n at lL (/$bunfs/root/claude:978:20875)\n at <anonymous> (/$bunfs/root/claude:1615:1330)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:57:58.167Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at umG (/$bunfs/root/claude:3554:671)\n at call (/$bunfs/root/claude:1537:955)\n at lL (/$bunfs/root/claude:978:20805)\n at lL (/$bunfs/root/claude:978:20875)\n at <anonymous> (/$bunfs/root/claude:1615:1330)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:57:58.203Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at umG (/$bunfs/root/claude:3554:671)\n at call (/$bunfs/root/claude:1537:955)\n at lL (/$bunfs/root/claude:978:20805)\n at lL (/$bunfs/root/claude:978:20875)\n at <anonymous> (/$bunfs/root/claude:1615:1330)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:57:58.236Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at umG (/$bunfs/root/claude:3554:671)\n at call (/$bunfs/root/claude:1537:955)\n at lL (/$bunfs/root/claude:978:20805)\n at lL (/$bunfs/root/claude:978:20875)\n at <anonymous> (/$bunfs/root/claude:1615:1330)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-30T21:57:58.265Z"},{"error":"MaxFileReadTokenExceededError: File content (33325 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 new XR0 (/$bunfs/root/claude:1533:1483
Note: Error logs were truncated.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗