My goal:
To save a large workflow (approx. 6.8 MB in size).
Issue:
When trying to save, I get the following error: "Error saving workflow: failed to fetch."
This happens every time, and the workflow is not saved.
Steps I’ve taken to troubleshoot:
Reloaded the page
Tried incognito mode
Tested in multiple browsers (Chrome, Safari)
Verified network – no blocked requests or auth issues
Reduced complexity slightly – still fails
Observed that smaller workflows save without issues
Additional info:
Workflow size: ~6.8 MB
Hosting: Retool Cloud
Screenshot: see attached
It seems the error could be related to a size or payload limit (maybe hitting a request body size cap?)
Would appreciate any clarification if there’s a known limit, and if so, whether large workflows should be modularized or optimized in a specific way.
Hello @ds001, welcome to the Community forum!
Did you include a screenshot? I don’t see it here, could you post it again? Also, 6.8 MB sounds like a pretty large workflow. Is that the size of the JSON export? Can you clarify what might be contributing to the workflow size?
@ds001 Hey, just checking in to see how you’re doing and if you had a chance to take a look at the questions I shared above. Do you still need help with this?
The best-practice solution is to modularize and optimize the workflow by breaking it into smaller parts and reducing unnecessary data or complexity. This will allow you to save your workflows reliably and is strongly recommended for maintainability and performance.
If you’re near or over the platform’s size limit, simplifying your workflow into modules is the only sustainable approach. Retool’s team will also recommend this as the standard solution.