You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 15, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 15, 2026. It is now read-only.
[BUG] Intermittent failure: write_to_file called without required content parameter #12079
Roo intermittently fails during execution by attempting to call write_to_file without the required content parameter, triggering retries and unstable behavior.
Context (who is affected and when)
This is affecting a large engineering team (~150 engineers) using Roo Code in daily workflows.
The issue appears during normal coding tasks and happens intermittently, making it hard to predict but noticeable at scale.
Reproduction steps
Environment/setup
VS Code: latest version
Roo Code extension: v3.51.1
Provider: Vertex
Model: claude-sonnet-4-6
Exact actions
Start a normal Roo Code task (e.g., generating or modifying code)
Let the agent proceed with file operations
Observed behavior
At some point during execution, Roo logs:
Roo tried to use write_to_file without value for required parameter 'content'. Retrying...
Task may retry or behave inconsistently afterward
Expected result
write_to_file should always be invoked with all required parameters, including content, and execute reliably without retries.
Actual result
Roo attempts to call write_to_file without the required content parameter, causing retries and intermittent instability.
Variations tried (optional)
Occurs across multiple users and machines
Seen with the same provider (Vertex) and model (claude-sonnet-4-6)
Not tied to a specific prompt or repository (so far)
Intermittent → no deterministic repro yet
App Version
v3.51.1
API Provider (optional)
Google Vertex AI
Model Used (optional)
claude-sonnet-4-6
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Date/time: 2026-04-08T11:57:55.852Z
Extension version: 3.51.1
Provider: vertex
Model: claude-sonnet-4-6
Roo tried to use write_to_file without value for required parameter 'content'. Retrying...
changed the title [-]Intermittent failure: write_to_file called without required content parameter[/-][+][BUG] Intermittent failure: write_to_file called without required content parameter[/+]on Apr 8, 2026
@roomote can you check if others reported the same issue, if they are closed and how they resolved this. I wonder if this is something we need to change any Roo settings or GCP vertex AI setting before changing Roo code
Thanks brother ; but i cant open the discord link you have sent. It would mean the world to me if you could provide a summary. Also i think it will be good since this bug is really annoying and would help resolving it. Also i dont think its specific to vertex since i am using another 3rd party provider (Open-AI compatible)
Activity
[-]Intermittent failure: write_to_file called without required content parameter[/-][+][BUG] Intermittent failure: write_to_file called without required content parameter[/+]rockey5520 commentedon Apr 8, 2026
@roomote can you check if others reported the same issue, if they are closed and how they resolved this. I wonder if this is something we need to change any Roo settings or GCP vertex AI setting before changing Roo code
rockey5520 commentedon Apr 8, 2026
@roomote fix this then on Roocode and help prioritise with your engineering team and this is affecting 150 engineers at our workplace frequently
fix: allow partial args through parseToolCall finalization for write_…
rockey5520 commentedon Apr 8, 2026
@roomote what are next steps here to get this code released?
rockey5520 commentedon Apr 10, 2026
@roomote how to find the right maintainer to tag or write to ?
fix: prevent write_to_file from executing with missing content parameter
cipherpodliq1 commentedon May 2, 2026
any update on this ? when is it estimated to be fixed? latest working version?
rockey5520 commentedon May 2, 2026
on discord server, i've been told this could be issue with vertex
https://discord.com/channels/1332146336664915968/1492793837528158330/1493028842472997054
cipherpodliq1 commentedon May 3, 2026
Thanks brother ; but i cant open the discord link you have sent. It would mean the world to me if you could provide a summary. Also i think it will be good since this bug is really annoying and would help resolving it. Also i dont think its specific to vertex since i am using another 3rd party provider (Open-AI compatible)
rockey5520 commentedon May 4, 2026
@cipherpodliq1 , Here is the response
Interesting that this issue persists on other providers too, would you be able to join the discord here and let them know on this thread