Composer fails to write to files during content generation, causing loss of generated content and wasted credits. The issue is not marked as errored in the billing section.
All the time I have “Edit invalid arguments”
Steps to Reproduce
Use Composer to generate content.
Observe that some content is not written to files.
(Check billing section – errors are not reflected there.)
Expected Behavior
All generated content should be saved to files correctly, and any failed write attempts should be marked as errors in the billing section.
For AI issues: add Request ID with privacy disabled
ba212916-0ffa-41fa-954e-c6bb20b9e907
Additional Information
I think I’ve lost already at least 20% of my monthly credits because of this issue as the content is always generated but not written into the file due to this persistent issue.
I looked into your request ID (ba212916-0ffa-41fa-954e-c6bb20b9e907) and it appears to have originated from a Nightly build of Cursor (2.2.0-pre.23.patch.0). Nightly builds can be unstable.
Could you confirm whether this issue persists on either the latest nightly build, or the current stable version (2.1.50)?
Do you mean nightly build of Composer or Cursor IDE? If it’s Cursor, I am not participating in any “Nightly build” or “Early Access” program so this cannot be the case, right?
I’m facing probably the same issue today. I searched the Internet and found this thread.
My case is it only failed when I’m using a multi-root workspace with multiple projects. More specifically, I also created a git worktree for one of the repos and added to the workspace, not sure if it’s relevant. And in this case, all models (Opus 4.5, Sonnet 4.5, GPT 5.1 Codex Max, GPT 5.2, Composer, Auto, etc.) failed to edit showing “invalid argument" (the same as the screenshot provided by Gilles). Some models might raise an error like “relative path is expected”, which seems like Cursor (or the model with prompts) is providing a wrong path to the edit tool that it couldn’t handle.
Note that this is a stable version. I’m not participating in Nightly build or Early Access program either. If I’m indeed participating from your perspective, that means the release channel is wrong and releases incorrect version to me.
This is stopping me from using Cursor because it literally does not work, failed to do any edits. It still worked yesterday before I upgraded Cursor to the latest version.