# Error Editing Files. Cursor cannot edit files.

**URL:** <https://forum.cursor.com/t/error-editing-files-cursor-cannot-edit-files/116615>\
**Category:** Bug Reports\
**Created:** [July 11, 2025, 9:46am UTC](https://forum.cursor.com/t/error-editing-files-cursor-cannot-edit-files/116615 "2025-07-11T09:46:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Devdoit](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/devdoit/32/70048_2.png) [@Devdoit](https://forum.cursor.com/u/Devdoit)\
**Post date:** [July 11, 2025, 9:46am UTC](https://forum.cursor.com/t/error-editing-files-cursor-cannot-edit-files/116615/1 "2025-07-11T09:46:19Z")

</div>

### Describe the Bug

The screenshot shows me using different models one after another. They all end with an error.  
They generate a chat response, but each one reports an inability to edit files. So none of them successfully completes the task.  
Finally, I turn on the Claude 4 Sonnet and it works immediately.  
All the instructions are identical: copy and paste.  
So why can’t the other three models perform simple .php file editing? But the Claude Sonnet 4 suddenly can?

### Steps to Reproduce

The prompts sent for various models randomly cause editing errors. They cannot be edited; they can only be read. Despite using the main agent without any file editing restrictions, of course.

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)  
VSCode Version: 1.99.3  
Commit: a8e95743c5268be73767c46944a71f4465d05c90  
Date: 2025-07-10T17:09:01.383Z  
Electron: 34.5.1  
Chromium: 132.0.6834.210  
Node.js: 20.19.0  
V8: 13.2.152.41-electron.0  
OS: Windows\_NT x64 10.0.26100

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 2, 2025, 9:46am UTC](https://forum.cursor.com/t/error-editing-files-cursor-cannot-edit-files/116615/2 "2025-08-02T09:46:57Z")

</div>

Closed on August 2, 2025, 9:46am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
