Missing Tool Result Block for Tool Use ID toolu_012xjxFevYi9aALixNc2CFB1

Resolved 💬 1 comment Opened Jul 14, 2025 by alexrqs Closed Sep 18, 2025

Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.75: tool_use ids were found without tool_result blocks
immediately after: toolu_012xjxFevYi9aALixNc2CFB1. Each tool_use block must have a corresponding tool_result block in the next message."}}

Environment Info

  • Platform: darwin
  • Terminal: kitty
  • Version: 1.0.51
  • Feedback ID: 06dd277b-1b30-4b2d-a03a-1ee8ebabfc2f

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at checkExecSyncError (node:child_process:890:11)\n    at execSync (node:child_process:962:15)\n    at eD (file:///Users/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:712:4489)\n    at file:///Users/(file:///Users//.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:67:34990)","timestamp":"2025-07-14T20:33:11.097Z"},{"error":"Error: Language not supported while highlighting code, falling back to m

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗