[Bug] Anthropic API Error: 400 Tool Use Concurrency Issue with Rewind Failure
Resolved 💬 3 comments Opened Mar 27, 2026 by williavs Closed Mar 31, 2026
Bug Description
I start getting a API ErrorL 400 due to tool use concurrency issues. - - - - - - - rewind doesnt work and Im in the middle of a convo - - - - I have to drop it all
Environment Info
- Platform: linux
- Terminal: tmux
- Version: 2.1.86
- Feedback ID: 7add8be7-60a0-4135-bcb9-788af093de4f
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/willy/.local/share/claude/versions/2.1.86 (expected in multi-process scenarios)\n at em$ (/$bunfs/root/src/entrypoints/cli.js:2849:2138)\n at Ei8 (/$bunfs/root/src/entrypoints/cli.js:2849:1218)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T22:07:36.120Z"},{"error":"Error: Tool mcp__claude-peers__list_peers not found\n at IsK (/$bunfs/root/src/entrypoints/cli.js:2921:27657)\n at $D (/$bunfs/root/src/entrypoints/cli.js:452:20997)\n at _z (/$bunfs/root/src/entrypoints/cli.js:452:39538)\n at $s (/$bunfs/root/src/entrypoints/cli.js:452:50229)\n at aRH (/$bunfs/root/src/entrypoints/cli.js:452:86903)\n at XG (/$bunfs/root/src/entrypoints/cli.js:452:85865)\n at oRH (/$bunfs/root/src/entrypoints/cli.js:452:85687)\n at JMH (/$bunfs/root/src/entrypoints/cli.js:452:82052)\n at dH (/$bunfs/root/src/entrypoints/cli.js:452:6488)\n at AH (/$bunfs/root/src/entrypoints/cli.js:452:4972)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:16627:279)","timestamp":"2026-03-27T22:07:38.459Z"},{"error":"Error: Tool mcp__claude-peers__send_message not found\n at IsK (/$bunfs/root/src/entrypoints/cli.js:2921:27657)\n at $D (/$bunfs/root/src/entrypoints/cli.js:452:20997)\n at _z (/$bunfs/root/src/entrypoints/cli.js:452:39538)\n at $s (/$bunfs/root/src/entrypoints/cli.js:452:50229)\n at aRH (/$bunfs/root/src/entrypoints/cli.js:452:86903)\n at XG (/$bunfs/root/src/entrypoints/cli.js:452:85865)\n at oRH (/$bunfs/root/src/entrypoints/cli.js:452:85687)\n at JMH (/$bunfs/root/src/entrypoints/cli.js:452:82052)\n at dH (/$bunfs/root/src/entrypoints/cli.js:452:6488)\n at AH (/$bunfs/root/src/entrypoints/cli.js:452:4972)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:16627:279)","timestamp":"2026-03-27T22:07:38.460Z"},{"error":"Error: Tool mcp__claude-peers__send_message not found\n at IsK (/$bunfs/root/src/entrypoints/cli.js:2921:27657)\n at $D (/$bunfs/root/src/entrypoints/cli.js:452:20997)\n at _z (/$bunfs/root/src/entrypoints/cli.js:452:39538)\n at $s (/$bunfs/root/src/entrypoints/cli.js:452:50229)\n at aRH (/$bunfs/root/src/entrypoints/cli.js:452:86903)\n at XG (/$bunfs/root/src/entrypoints/cli.js:452:85865)\n at oRH (/$bunfs/root/src/entrypoints/cli.js:452:85687)\n at JMH (/$bunfs/root/src/entrypoints/cli.js:452:82052)\n at dH (/$bunfs/root/src/entrypoints/cli.js:452:6488)\n at AH (/$bunfs/root/src/entrypoints/cli.js:452:4972)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:16627:279)","timestamp":"2026-03-27T22:07:38.460Z"},{"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_01Y3pwPrkhZSYwDqQimeaUni. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CZUM4XvRTCddwgG1wASR4\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:50727)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-27T22:07:46.641Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗