[BUG]

Resolved 💬 2 comments Opened Dec 12, 2025 by horacio-penya Closed Dec 12, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Sometimes I get:

<tool_use_error>InputValidationError: BashOutput failed due to the following issue: An unexpected parameter block was provided</tool_use_error>

and when I write it a new message VSCode reports:

Error: Claude Code process exited with code 1

It seems to be related to long tasks where it needs to wait for a response from a command.

<img width="1294" height="453" alt="Image" src="https://github.com/user-attachments/assets/03962f55-6e3f-4ebb-afbb-4538efd8058a" />

What Should Happen?

It should wait until the command completes and continue without crashing.

Error Messages/Logs

Steps to Reproduce

Not sure.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.65 (VSCode extension)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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