Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
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

Open

Description

@rockey5520

Problem (one or two sentences)

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...

Activity

  1. added
    bug
    on Apr 8, 2026
  2. 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
  3. rockey5520 commented on Apr 8, 2026

    @rockey5520
    Author

    @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

  4. rockey5520 commented on Apr 8, 2026

    @rockey5520
    Author

    @roomote fix this then on Roocode and help prioritise with your engineering team and this is affecting 150 engineers at our workplace frequently

  5. ghost added a commit that references this issue on Apr 8, 2026
    cb70c75
  6. rockey5520 commented on Apr 8, 2026

    @rockey5520
    Author

    @roomote what are next steps here to get this code released?

  7. rockey5520 commented on Apr 10, 2026

    @rockey5520
    Author

    @roomote how to find the right maintainer to tag or write to ?

  8. ghost added a commit that references this issue on Apr 10, 2026
    4f0c595
  9. cipherpodliq1 commented on May 2, 2026

    @cipherpodliq1

    any update on this ? when is it estimated to be fixed? latest working version?

  10. rockey5520 commented on May 2, 2026

    @rockey5520
    Author
  11. cipherpodliq1 commented on May 3, 2026

    @cipherpodliq1

    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)

  12. rockey5520 commented on May 4, 2026

    @rockey5520
    Author

    @cipherpodliq1 , Here is the response

    Image

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions