[Bug] Anthropic API Error: Cannot Modify Thinking Blocks in Assistant Messages
Resolved 💬 5 comments Opened Jan 26, 2026 by robceliesius Closed Feb 28, 2026
Bug Description
Getting errors --> API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.5: 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_011CXWDvqkG2NCdMgiV9WkNS"}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.1.19
- Feedback ID: 5859374d-eabf-46fe-9756-19d345a7ad2b
Errors
[{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546:86051)\n at ze (/$bunfs/root/claude:546:85025)\n at zd (/$bunfs/root/claude:546:84850)\n at Yd (/$bunfs/root/claude:546:81273)\n at fA (/$bunfs/root/claude:546:6275)\n at cAA (/$bunfs/root/claude:539:18484)","timestamp":"2026-01-25T15:31:12.312Z"},{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546:86051)\n at ze (/$bunfs/root/claude:546:85025)\n at zd (/$bunfs/root/claude:546:84850)\n at Yd (/$bunfs/root/claude:546:81273)\n at fA (/$bunfs/root/claude:546:6275)\n at cAA (/$bunfs/root/claude:539:18484)","timestamp":"2026-01-25T15:31:12.312Z"},{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546:86051)\n at ze (/$bunfs/root/claude:546:85025)\n at zd (/$bunfs/root/claude:546:84850)\n at Yd (/$bunfs/root/claude:546:81273)\n at fA (/$bunfs/root/claude:546:6275)\n at cAA (/$bunfs/root/claude:539:18484)","timestamp":"2026-01-25T15:31:12.377Z"},{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546:86051)\n at ze (/$bunfs/root/claude:546:85025)\n at zd (/$bunfs/root/claude:546:84850)\n at Yd (/$bunfs/root/claude:546:81273)\n at fA (/$bunfs/root/claude:546:6275)\n at cAA (/$bunfs/root/claude:539:18484)","timestamp":"2026-01-25T15:31:12.377Z"},{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546:86051)\n at ze (/$bunfs/root/claude:546:85025)\n at zd (/$bunfs/root/claude:546:84850)\n at Yd (/$bunfs/root/claude:546:81273)\n at fA (/$bunfs/root/claude:546:6275)\n at cAA (/$bunfs/root/claude:539:18484)","timestamp":"2026-01-25T15:31:12.377Z"},{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546:86051)\n at ze (/$bunfs/root/claude:546:85025)\n at zd (/$bunfs/root/claude:546:84850)\n at Yd (/$bunfs/root/claude:546:81273)\n at fA (/$bunfs/root/claude:546:6275)\n at cAA (/$bunfs/root/claude:539:18484)","timestamp":"2026-01-25T15:31:12.377Z"},{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546:86051)\n at ze (/$bunfs/root/claude:546:85025)\n at zd (/$bunfs/root/claude:546:84850)\n at Yd (/$bunfs/root/claude:546:81273)\n at fA (/$bunfs/root/claude:546:6275)\n at cAA (/$bunfs/root/claude:539:18484)","timestamp":"2026-01-25T15:31:12.377Z"},{"error":"Error: Tool mcp__ide__getDiagnostics not found\n at QGB (/$bunfs/root/claude:1895:6809)\n at e1 (/$bunfs/root/claude:546:20770)\n at fq (/$bunfs/root/claude:546:39163)\n at FB (/$bunfs/root/claude:546:49786)\n at Kx (/$bunfs/root/claude:546…
Note: Content was truncated.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗