claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Anthropic API Error: Tool result block missing corresponding tool_use block Total garbage this

Open fwends opened this issue 1 month ago • 3 comments

Bug Description The new version of Opus was absolutely fantastic for the first 12 hours. After that, it's gone to complete crap. It can't even do basic code now. And I'm getting all these 400 errors and all sorts of other errors. It's absolutely. Absolutely worse than Sonic was. So it started off great, and now it can't even make a mobile page without making it the full width of a desktop page. It's got really basic tasks to do that it's not been able to do. This is an absolute joke that every time you want to do some work, that the tools don't work and they fail.

⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message" :"messages.114.content.1: unexpected tool_use_id found in tool_result blocks: toolu_01KUFKngg9hPtqeN8zxsCUYx. Each tool_result block must have a corresponding tool_use block in the previous message."},"request_id":"req_011CVW3nriU8tq3RqVCQZZef"}

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.0.54
  • Feedback ID: 04c1c6f8-099c-40a4-82de-cf1fbbc069c4

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.53 (expected in multi-process scenarios)\n    at $V0 (/$bunfs/root/claude:2656:1622)\n    at f6A (/$bunfs/root/claude:2654:13481)\n    at async k6A (/$bunfs/root/claude:2656:3435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T06:31:42.109Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.54 (expected in multi-process scenarios)\n    at $V0 (/$bunfs/root/claude:2656:1622)\n    at f6A (/$bunfs/root/claude:2654:13481)\n    at async RB7 (/$bunfs/root/claude:2654:14683)\n    at async Zx (/$bunfs/root/claude:2656:236)\n    at async <anonymous> (/$bunfs/root/claude:2656:12469)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T06:31:51.269Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:419:3151)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T06:32:47.436Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.54 (expected in multi-process scenarios)\n    at $V0 (/$bunfs/root/claude:2656:1622)\n    at f6A (/$bunfs/root/claude:2654:13481)\n    at async RB7 (/$bunfs/root/claude:2654:14683)\n    at async Zx (/$bunfs/root/claude:2656:236)\n    at async <anonymous> (/$bunfs/root/claude:2656:12469)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-11-26T06:44:58.724Z"}]

fwends avatar Nov 26 '25 06:11 fwends