[BUG] "Error editing file" message is unhelpful and/or incorrect

Resolved 💬 3 comments Opened Aug 19, 2025 by jgspratt Closed Aug 19, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [X] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.83 (Claude Code)
  • Operating System: Ubuntu
  • Terminal: VSCode

Bug Description

A perfectly writable file threw Error editing file with no further explanation and no error logs that I could find. Claude ended up going on to edit that file without needing to be re-prompted.

Steps to Reproduce

  1. Ask Claude to edit a file

Expected Behavior

  1. No error messages, Claude was able to edit file
  2. Or, if Claude couldn't edit the file, and there was an error message, an explanation or a pointer to an error log with detailed logs

Actual Behavior

Bland error message (no details or info on how to get details); Claude was able to edit the file.

Additional Context

This happens frequently

View original on GitHub ↗

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