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

Resolved 💬 3 comments Opened Dec 3, 2025 by sh4d0w Closed Dec 7, 2025

Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.90: 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_011CVjoydcf6B8eRiSM64N7h"}

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.57
  • Feedback ID: 06298d75-6ec7-4972-a8c9-06f52c5261e3

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/katana/.local/share/claude/versions/2.0.57 (expected in multi-process scenarios)\n    at Iw0 (/$bunfs/root/claude:2682:1622)\n    at ACA (/$bunfs/root/claude:2680:35352)\n    at async z77 (/$bunfs/root/claude:2680:37460)\n    at async dx (/$bunfs/root/claude:2682:236)\n    at async <anonymous> (/$bunfs/root/claude:2682:12981)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-03T13:13:48.766Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/katana/.local/share/claude/versions/2.0.57 (expected in multi-process scenarios)\n    at Iw0 (/$bunfs/root/claude:2682:1622)\n    at ACA (/$bunfs/root/claude:2680:35352)\n    at async z77 (/$bunfs/root/claude:2680:37460)\n    at async dx (/$bunfs/root/claude:2682:236)\n    at async <anonymous> (/$bunfs/root/claude:2682:12981)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-03T13:13:51.390Z"}]

View original on GitHub ↗

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