Skip to content

Error: InputValidationError: Write failed due to the following issue: The required parameter content is missing #895

Description

@BrianObilo

Not sure how to recreate this since it doesn't happen often, but when I asked Claude what lead to this happening, it said - "The error occurred because I forgot to include the "content" parameter when using the Write tool. The Write tool requires both "file_path" and "content" parameters, and I only provided the file path without the content to write to the file. I'll make sure to include both parameters when creating files. "

But also sometimes it happens that Claudecode gets stuck trying to implement something for more than 30 mins without error logs/message to the end user. Time increases but the token count does not increase. (Could be related). I will include an image to this issue if I encounter this again.

Claude code version - latest as of now (Auto update is on)
API - using my own from Anthropic account

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsbugSomething isn't workingduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions