[Bug] Anthropic API Error: Cannot modify thinking blocks in assistant message
Resolved 💬 4 comments Opened Feb 20, 2026 by ketanghumatkar Closed Mar 20, 2026
Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.11.content.77: 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_011CYKAujxoMBWzNMe7KCwZX"}
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.45
- Feedback ID: 9da76219-3bf6-4ac9-b114-f3e02211962a
Errors
[{"error":"Error: ENOENT: no such file or directory, open '/Users/ketanghumatkar/.claude/remote-settings.json'\n at openSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1109)\n at JC (/$bunfs/root/claude:11:49684)\n at readSync (/$bunfs/root/claude:12:1037)\n at hC (/$bunfs/root/claude:6116:113)\n at I5 (/$bunfs/root/claude:6118:226)\n at u9A (/$bunfs/root/claude:186:8329)\n at IIA (/$bunfs/root/claude:2104:20784)\n at Ax7 (/$bunfs/root/claude:2104:22046)\n at <anonymous> (/$bunfs/root/claude:2104:22259)","timestamp":"2026-02-20T02:51:51.608Z"},{"error":"Error: Failed to download binary from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.49/darwin-arm64/claude: Download stalled: no data received for 60 seconds\n at L38 (/$bunfs/root/claude:3440:4307)\n at async mkB (unknown)\n at async y38 (/$bunfs/root/claude:3440:22574)\n at async b38 (/$bunfs/root/claude:3440:24736)\n at async sd (unknown)\n at unknown\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-20T03:03:09.587Z"},{"error":"StallTimeoutError: Download stalled: no data received for 60 seconds\n at E38 (/$bunfs/root/claude:3440:2904)\n at async L38 (unknown)\n at async mkB (unknown)\n at async y38 (/$bunfs/root/claude:3440:22574)\n at async b38 (/$bunfs/root/claude:3440:24736)\n at async sd (unknown)\n at unknown\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-20T03:03:09.587Z"},{"error":"Error: {\"message\":\"Operation timed out.\",\"originalLine\":\"2096\",\"originalColumn\":\"91197\",\"line\":\"2096\",\"column\":\"91197\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Operation timed out.\\n at <anonymous> (/$bunfs/root/claude:2096:91197)\",\"name\":\"Error\"}\n at error (/$bunfs/root/claude:2144:25028)\n at <anonymous> (/$bunfs/root/claude:2096:20332)\n at mk7 (/$bunfs/root/claude:2096:20876)\n at <anonymous> (/$bunfs/root/claude:2097:16930)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-20T03:53:37.609Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/ketanghumatkar/.claude/remote-settings.json'\n at openSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1109)\n at JC (/$bunfs/root/claude:11:49684)\n at readSync (/$bunfs/root/claude:12:1037)\n at hC (/$bunfs/root/claude:6116:113)\n at I5 (/$bunfs/root/claude:6118:226)\n at u9A (/$bunfs/root/claude:186:8329)\n at IIA (/$bunfs/root/claude:2104:20784)\n at Ax7 (/$bunfs/root/claude:2104:22046)\n at <anonymous> (/$bunfs/root/claude:2104:22259)","timestamp":"2026-02-20T03:53:37.610Z"},{"error":"Error: 1P event logging: 4 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/claude:2101:2350)\n at async doExport (/$bunfs/root/claude:2101:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-20T03:53:37.724Z"},{"error":"Error: {\"message\":\"Failed to export 4 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"2101\",\"originalColumn\":\"1409\",\"line\":\"2101\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 4 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n at doExport (/$bunfs/root/claude:2101:1409)\\n at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n at error (/$bunfs/root/claude:2144:25028)\n at <anonymous> (/$bunfs/root/claude:2096:20332)\n at mk7 (/$bunfs/root/claude:2096:20876)\n at <anonymous> (/$bunfs/root/claude:2097:17366)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-02-20T03:53:37.725Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/ketanghumatkar/.claude/remote-settings.json'\n at openSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1109)\n at JC (/$bunfs/root/claude:11:49684)\n at readSync (/$bunfs/root/claude:12:1037)\n at hC (/$bunfs/root/cla…
Note: Content was truncated.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗