[Bug] Anthropic API Error: Insufficient Context for Issue Diagnosis

Resolved 💬 3 comments Opened Jan 16, 2026 by itsjeremyjohnson Closed Jan 20, 2026

Bug Description
Keep getting API Error

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.9
  • Feedback ID: 45495a9c-0fba-4dad-b3b6-d1025eb3afa7

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/jeremydjohnson/.local/share/claude/versions/2.1.9 (expected in multi-process scenarios)\n    at BER (/$bunfs/root/claude:3355:2091)\n    at HFA (/$bunfs/root/claude:3355:1202)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-16T18:43:26.486Z"},{"error":"Error: Bad substitution: await\n    at h (/$bunfs/root/claude:65:2778)\n    at <anonymous> (/$bunfs/root/claude:65:3429)\n    at map (native:1:11)\n    at hz0 (/$bunfs/root/claude:65:2518)\n    at <anonymous> (/$bunfs/root/claude:65:3583)\n    at cq (/$bunfs/root/claude:65:4033)\n    at pgT (/$bunfs/root/claude:4531:1755)\n    at d5 (/$bunfs/root/claude:4537:195)\n    at $QR (/$bunfs/root/claude:4537:1714)\n    at isReadOnly (/$bunfs/root/claude:4623:1961)","timestamp":"2026-01-16T18:51:50.588Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.50: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01GMoEUNugpJ6eDW8e7fgCSm. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CXBZXgxXrv3JaVPjSgugf\"}\n    at generate (/$bunfs/root/claude:939:2085)\n    at makeRequest (/$bunfs/root/claude:956:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-16T18:52:15.422Z"}]

View original on GitHub ↗

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