[Bug] Anthropic API Error: Invalid tool_result block on conversation resume

Resolved 💬 5 comments Opened Dec 24, 2025 by simonstrumse Closed Feb 22, 2026

And now I'm filing here because /bug didn't work either

Bug Description
In my one conversation that I try to resume I keep getting this: > try again
⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.0.content.0:
unexpected tool_use_id found in tool_result blocks: toolu_01Q2FmDg5zVwsaLbzn4ZQBm3.
Each tool_result block must have a corresponding tool_use block in the previous
message."},"request_id":"req_011CWQYQtGSxD8YCdW7c7ATQ"}

hello

⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.0.content.0:
unexpected tool_use_id found in tool_result blocks: toolu_01Q2FmDg5zVwsaLbzn4ZQBm3.
Each tool_result block must have a corresponding tool_use block in the previous
message."},"request_id":"req_011CWQYVfm1SGnSAUAU2V5ud"}

hello

⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"messages.0.content.0:
unexpected tool_use_id found in tool_result blocks: toolu_01Q2FmDg5zVwsaLbzn4ZQBm3.
Each tool_result block must have a corresponding tool_use block in the previous
message."},"request_id":"req_011CWQYXFiwqgDe1V5sEeZc9"} no way to resume it at all

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.76
  • Feedback ID:

Errors

[{"error":"AxiosError: Request failed with status code 403\n    at bx (file:///Users/simonsouyrisstrumse/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:1137)\n    at Unzip.<anonymous> (file:///Users/simonsouyrisstrumse/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:9852)\n    at Unzip.emit (node:events:525:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at fzA.request (file:///Users/simonsouyrisstrumse/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:59:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async UT2 (file:///Users/simonsouyrisstrumse/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1845:3609)","timestamp":"2025-12-24T00:13:48.910Z"},{"error":"Error: Plugin hook \"node \"/Users/simonsouyrisstrumse/.claude/plugins/cache/thedotmack/claude-mem/7.3.6/scripts/user-message-hook.js\"\" failed with exit code 3\nstderr: 📝 Claude-Mem Context Loaded\n   ℹ️  Note: This appears as stderr but is informational only\n\n\n\^[[1m\^[[36m[Obos-Solcelle-Enny] recent context\^[[0m\n\^[[90m────────────────────────────────────────────────────────────\^[[0m\n\n\^[[2mLegend: 🎯 session-request | 🔴 bugfix | 🟣 feature | 🔄 refactor | ✅ change | 🔵 discovery | ⚖️  decision\^[[0m\n\n\^[[1m💡 Column Key\^[[0m\n\^[[2m  Read: Tokens to read this observation (cost to learn it now)\^[[0m\n\^[[2m  Work: Tokens spent on work that produced this record (🔍 research, 🛠️ building, ⚖️  deciding)\^[[0m\n\n\^[[2m💡 Context Index: This semantic index (titles, types, files, tokens) is usually sufficient to understand past work.\^[[0m\n\n\^[[2mWhen you need implementation details, rationale, or debugging context:\^[[0m\n\^[[2m  - Use the mem-search skill to fetch full observations on-demand\^[[0m\n\^[[2m  - Critical types (🔴 bugfix, ⚖️ decision) often need detailed fetching\^[[0m\n\^[[2m  - Trust this index over re-reading code for past decisions and learnings\^[[0m\n\n\^[[1m\^[[36m📊 Context Economics\^[[0m\n\^[[2m  Loading: 50 observations (16,302 tokens to read)\^[[0m\n\^[[2m  Work investment: 70,269 tokens spent on research, building, and decisions\^[[0m\n\^[[32m  Your savings: 53,967 tokens (77% reduction from reuse)\^[[0m\n\n\^[[1m\^[[36mDec 23, 2025\^[[0m\n\n🎯 \^[[33m#S579\^[[0m Run the extraction process to identify new leads from deep research reports (Dec 23 at 6:10 PM)\n\n🎯 \^[[33m#S583\^[[0m Research more on bankrupt solar installer recovery operations without proposing slash command execution. (Dec 23 at 6:14 PM)\n\n\^[[2mGeneral\^[[0m\n  \^[[2m#4101\^[[0m  \^[[2m6:30 PM\^[[0m  🔵  Skill Command Execution Limitation Identified \^[[2m(~251t)\^[[0m \^[[2m(🔍 325t)\^[[0m\n\n\^[[2mresearch_results/deep_research/interaction_ids.json\u001

Note: Error logs were truncated.

View original on GitHub ↗

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