[Bug] Anthropic API Error: Tool Use Concurrency Limitation

Resolved 💬 5 comments Opened Oct 10, 2025 by saadk408 Closed Jan 10, 2026

Bug Description
I keep getting this error: "API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation."

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.0.13
  • Feedback ID: 38db0dd0-9284-472e-90f3-395a1ec61ed0

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at RI (/$bunfs/root/claude:2071:731)\n    at map (native:1:11)\n    at c3 (/$bunfs/root/claude:2071:448)\n    at Mc5 (/$bunfs/root/claude:2071:12745)\n    at Cw (/$bunfs/root/claude:76:19416)\n    at Vp (/$bunfs/root/claude:78:42816)\n    at F9 (/$bunfs/root/claude:78:38357)\n    at Ab (/$bunfs/root/claude:78:38285)\n    at kw (/$bunfs/root/claude:78:38139)\n    at g$ (/$bunfs/root/claude:78:35218)","timestamp":"2025-10-10T12:35:53.579Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at RI (/$bunfs/root/claude:2071:731)\n    at map (native:1:11)\n    at c3 (/$bunfs/root/claude:2071:448)\n    at Mc5 (/$bunfs/root/claude:2071:12745)\n    at Cw (/$bunfs/root/claude:76:19416)\n    at Vp (/$bunfs/root/claude:78:42816)\n    at F9 (/$bunfs/root/claude:78:38357)\n    at Ab (/$bunfs/root/claude:78:38285)\n    at kw (/$bunfs/root/claude:78:38139)\n    at g$ (/$bunfs/root/claude:78:35218)","timestamp":"2025-10-10T12:36:23.945Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:386:4506)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-10T12:37:11.308Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at RI (/$bunfs/root/claude:2071:731)\n    at map (native:1:11)\n    at c3 (/$bunfs/root/claude:2071:448)\n    at Mc5 (/$bunfs/root/claude:2071:12745)\n    at Cw (/$bunfs/root/claude:76:19416)\n    at Vp (/$bunfs/root/claude:78:42816)\n    at F9 (/$bunfs/root/claude:78:38357)\n    at Ab (/$bunfs/root/claude:78:38285)\n    at kw (/$bunfs/root/claude:78:38139)\n    at g$ (/$bunfs/root/claude:78:35218)","timestamp":"2025-10-10T12:37:19.687Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.48: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_016Ph5JnqiF7ri44iS7Uq3pY, toolu_01GF2aAdPG4JN1p6tS9xNfSX, toolu_01K5K4eckHCcL1zqTCqbL6c2, toolu_01KgTSRU4ADry9MBywfWTXa2, toolu_01VKqNX3mXzu24Vy98XWPq6g. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CTyY7JVgcgM8yTD1n7UQE\"}\n    at generate (/$bunfs/root/claude:382:21386)\n    at makeRequest (/$bunfs/root/claude:527:5345)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-10-10T12:43:07.034Z"}]

View original on GitHub ↗

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