Skip to content

Missing Tool Result Block for Tool Use ID toolu_012xjxFevYi9aALixNc2CFB1 #3504

@alexrqs

Description

@alexrqs

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions