dfulton2009
dfulton20093mo ago

Windmill CLI - Bad Request: script with same parent_hash has been found error

I am receiving a bad request error when trying to deploy updated scripts throught Windmill CLI with the wmill sync push command. The error seems to target random scripts. Even if I leave one out of the push, it errors on another script. Here is a list of things we have tried so far. If you need any additional information, just let me know. Thanks! -- "Archive" an individual script when it gives this error. It then gets locked in a state where it still produces this error upon deployment, and also I then cannot un-archive the script because that action then also produces this error -- Deleting the folder that we're trying to push to. Deleting the folder appears like it might actually be archiving. In the UI it appears to delete all scripts, flows, variables, and resources associated with the folder. But then a subsequent push appears to un-archive it or something, because not only does the deployment fail with the same error but all scripts, flows, vars, etc. re-appear as they were before the folder deletion -- Updating to the latest Windmill instance version -- Updating to the latest Windmill CLI version (1.405.5)
No description
1 Reply
rubenf
rubenf3mo ago
Instead of archiving the script, you need to delete it It's a behavior we can fix but that is somewhat working as intended were you're trying to push a script at a path that has been archived with a parent that is different from the last archived version of the script.