[Bug] Anthropic API Error: Cannot modify thinking blocks in assistant message

Resolved 💬 4 comments Opened Dec 11, 2025 by m-ghalib Closed Feb 12, 2026

Bug Description

Let's continue

⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.49: thinking or redacted_thinking blocks in the
latest assistant message cannot be modified. These blocks must remain as they were in the original
response."},"request_id":"req_011CVzRWp1EE5Meu8SLvhLJP"}

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.65
  • Feedback ID: 0a344de0-ccec-4d2e-89e3-8f676377251e

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mominabrarghalib/.local/share/claude/versions/2.0.62 (expected in multi-process scenarios)\n    at fjB (/$bunfs/root/claude:2597:1618)\n    at XAA (/$bunfs/root/claude:2595:35624)\n    at async LAA (/$bunfs/root/claude:2597:3428)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T06:25:35.438Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mominabrarghalib/.local/share/claude/versions/2.0.64 (expected in multi-process scenarios)\n    at fjB (/$bunfs/root/claude:2597:1618)\n    at XAA (/$bunfs/root/claude:2595:35624)\n    at async LAA (/$bunfs/root/claude:2597:3428)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T06:25:35.445Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mominabrarghalib/.local/share/claude/versions/2.0.60 (expected in multi-process scenarios)\n    at fjB (/$bunfs/root/claude:2597:1618)\n    at XAA (/$bunfs/root/claude:2595:35624)\n    at async LAA (/$bunfs/root/claude:2597:3428)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T06:25:35.450Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mominabrarghalib/.local/share/claude/versions/2.0.65 (expected in multi-process scenarios)\n    at fjB (/$bunfs/root/claude:2597:1618)\n    at XAA (/$bunfs/root/claude:2595:35624)\n    at async DdD (/$bunfs/root/claude:2595:37725)\n    at async cj (/$bunfs/root/claude:2597:236)\n    at async <anonymous> (/$bunfs/root/claude:2597:13006)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T06:25:45.559Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1.content.49: `thinking` or `redacted_thinking` blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.\"},\"request_id\":\"req_011CVzRWp1EE5Meu8SLvhLJP\"}\n    at generate (/$bunfs/root/claude:125:10428)\n    at makeRequest (/$bunfs/root/claude:814:5434)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T06:26:09.324Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/mominabrarghalib/.local/share/claude/versions/2.0.65 (expected in multi-process scenarios)\n    at fjB (/$bunfs/root/claude:2597:1618)\n    at XAA (/$bunfs/root/claude:2595:35624)\n    at async DdD (unknown)\n    at async cj (unknown)\n    at unknown\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-11T06:26:11.528Z"}]

View original on GitHub ↗

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