Skip to content

Missing Tool Result Block for Tool Use ID toolu_01GUUUdR6TqtrqKTprMSuLqc #5410

@mkrueger12

Description

@mkrueger12

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

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.71
  • Feedback ID:

Errors

[{"error":"Error: Failed to check bun permissions\n    at H48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async R$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n    at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3272:10630","timestamp":"2025-08-08T18:22:07.814Z"},{"error":"Error: Failed to check bun permissions\n    at H48 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:722)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async R$0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1542:840)\n    at async hZ1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1552:43)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3272:10630","timestamp":"2025-08-08T18:22:11.899Z"},{"error":"AxiosError: Request failed with status code 403\n    at VN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:682:1077)\n    at Unzip.J0 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:9955)\n    at Unzip.emit (node:events:519:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at $B1.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:685:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async uK8 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2289:470)\n    at async Promise.all (index 0)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2275:19497","timestamp":"2025-08-08T18:22:22.838Z"}]

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