[BUG] Error editing file
Resolved 💬 6 comments Opened Nov 19, 2025 by kenryu42 Closed Mar 7, 2026
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?
<img width="494" height="696" alt="Image" src="https://github.com/user-attachments/assets/3f25c0c5-0c69-4e80-94db-7ac86ce20ddc" />
What Should Happen?
Claude code should be able to edit files without problem.
Error Messages/Logs
Error: InputValidationError: Edit failed due to the following issue:
The required parameter `new_string` is missing
Steps to Reproduce
Ask claude code to execute any tasks that require to edit files
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Version 2.0.45
Claude Code Version
Version 2.0.46
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗