[Bug] Anthropic API Error: Cannot modify thinking blocks in assistant message
Resolved 💬 3 comments Opened Feb 14, 2026 by dmi-000 Closed Feb 18, 2026
Bug Description
❯ /debug
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.33: 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_011CY8ckhK3Gkx9g2iJ2Lq4M"}
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.42
- Feedback ID: 579b6a15-ca98-47f2-a99e-d838dfd11a79
Errors
[{"error":"Error\n at _M (/$bunfs/root/claude:42:1144)\n at <anonymous> (/$bunfs/root/claude:43:10097)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:45:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T08:18:07.755Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1.content.33: `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_011CY7dgRHdLvf832NRBXFKT\"}\n at generate (/$bunfs/root/claude:327:8796)\n at makeRequest (/$bunfs/root/claude:366:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T08:18:46.269Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1.content.33: `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_011CY8ciWniZcLX9nnj6GYms\"}\n at generate (/$bunfs/root/claude:327:8796)\n at makeRequest (/$bunfs/root/claude:366:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T20:46:43.709Z"},{"error":"Error\n at _M (/$bunfs/root/claude:42:1144)\n at <anonymous> (/$bunfs/root/claude:43:10097)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:45:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T20:46:44.188Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1.content.33: `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_011CY8ckhK3Gkx9g2iJ2Lq4M\"}\n at generate (/$bunfs/root/claude:327:8796)\n at makeRequest (/$bunfs/root/claude:366:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-14T20:47:13.138Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗