[Bug] Anthropic API Error: Tool use concurrency causes 400 error during web-to-CLI transfer

Resolved 💬 3 comments Opened Dec 16, 2025 by aviy009 Closed Dec 20, 2025

Bug Description
teleporting from CCWEB to CLI keeps getting API Error: API Error: 400 due to tool use concurrency issues. Run /rewind to recover the conversation.\
Even after doing reqind as the error say

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.0.70
  • Feedback ID: 5d005517-6693-493f-a65d-3c42f19e2776

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01KooAkoxZpfhvAY4jfE2jmN. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CWAMcoYBhoasfT5u8zpGd\"}\n    at generate (B:/~BUN/root/claude.exe:410:10836)\n    at makeRequest (B:/~BUN/root/claude.exe:747:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T12:20:59.346Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01KooAkoxZpfhvAY4jfE2jmN. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CWAMhbJ8DhYvht5Uf3shT\"}\n    at generate (B:/~BUN/root/claude.exe:410:10836)\n    at makeRequest (B:/~BUN/root/claude.exe:747:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T12:22:04.345Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01KooAkoxZpfhvAY4jfE2jmN. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CWAMivqtcrCYBkb48ShZi\"}\n    at generate (B:/~BUN/root/claude.exe:410:10836)\n    at makeRequest (B:/~BUN/root/claude.exe:747:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T12:22:22.459Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01KooAkoxZpfhvAY4jfE2jmN. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CWAMpH4xKfmsyKHCBdDZY\"}\n    at generate (B:/~BUN/root/claude.exe:410:10836)\n    at makeRequest (B:/~BUN/root/claude.exe:747:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T12:23:34.987Z"}]

View original on GitHub ↗

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