Bug Report: Anthropic API Error - Missing Tool Result Block in Claude Code Response Handling

Resolved 💬 3 comments Opened Jul 25, 2025 by queridao-2025 Closed Jan 4, 2026

Bug Description

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 1.0.60
  • Feedback ID: 4697013c-acd6-4003-b9de-ccd247583aa6

Errors

[{"error":"Error: 404 {\"error\":{\"message\":\"Error from provider: {\\\"error\\\":{\\\"message\\\":\\\"No endpoints found that support cache control\\\",\\\"code\\\":404}}\",\"type\":\"api_error\",\"code\":\"provider_response_error\"}}\n    at i4.generate (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1317:6533)\n    at BP.makeStatusError (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1334:2101)\n    at BP.makeRequest (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1334:5315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-25T15:23:52.183Z"},{"error":"Error: 404 {\"error\":{\"message\":\"Error from provider: {\\\"error\\\":{\\\"message\\\":\\\"No endpoints found that support cache control\\\",\\\"code\\\":404}}\",\"type\":\"api_error\",\"code\":\"provider_response_error\"}}\n    at i4.generate (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1317:6533)\n    at BP.makeStatusError (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1334:2101)\n    at BP.makeRequest (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1334:5315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async ZvB.TG1.showErrors (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2902:14365)\n    at async TG1 (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2345:5642)\n    at async ZvB (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2902:14216)\n    at async file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2902:9271\n    at async OL0 (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2902:1690)\n    at async de (file:///C:/Users/hcosc/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:2902:9241)","timestamp":"2025-07-25T15:24:03.525Z"}]

View original on GitHub ↗

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