[Bug] Anthropic API Error: Cannot modify thinking blocks in assistant messages
Resolved 💬 9 comments Opened May 28, 2026 by williavs Closed Jun 30, 2026
Bug Description
User answered Claude's questions:
⎿ · Which way does the left wing slide on? → Front-to-back (Y) (Recommended)
· What joint profile for the slide rail? → Dovetail (Recommended)
⎿ API Error: 400 messages.3.content.23: thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.
- - - -dude wtfffffffff conversation is getting brickedddddd
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.152
- Feedback ID: d7320b1d-71ff-4bf0-9bba-a08d7335f2f6
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.12: `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_011CbUzCMoSEBNKhNj8iXGry\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:63975)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-28T12:43:40.426Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.12: `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_011CbUzCzCSa45VFAGGnU7jL\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:63975)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-28T12:43:48.978Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.23: `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_011CbUzXbgPcE3bfm2P5es3Z\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:63975)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-28T12:48:01.410Z"}]This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗