Skip to content

Missing Tool Result Block for Tool Use ID toolu_01UQBKWLMJewdBryZm8poH48 #5193

@YongBoYu1

Description

@YongBoYu1

Bug Description
api err API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.121: tool_use ids
were found without tool_result blocks immediately after: toolu_01UQBKWLMJewdBryZm8poH48. Each tool_use block
must have a corresponding tool_result block in the next message."}}
⎿  Interrupted by user

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.69
  • Feedback ID: 90792d19-8703-4f02-b055-edeac13c37f8

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at LX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1623:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1623:912\n    at Array.map (<anonymous>)\n    at MX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1623:903)\n    at OlB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2866:7822)\n    at yR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19859)\n    at Zf (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42848)\n    at Bf (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38369)\n    at Sj (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38297)\n    at oR (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38151)","timestamp":"2025-08-05T22:15:57.308Z"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apiarea:corebugSomething isn't workingduplicateThis issue or pull request already existsplatform:macosIssue specifically occurs on macOS

    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