Using UiPath activity ‘Delete Storage File’ from ‘Orchestrator/Storage’ library not deleting the file from storage bucket if file name contains blank spaces.
Studio v2023.10.4.
System.Activities v2024.10.4.
Orchestrator cloud.
P.S. Swagger is broken too. It transforms the filename for the petition replacing blank spaces for “%20”, while web app interface “%2520” and it works. So probably the Studio activity is failing to convert the blank spaces and petition is failing. It looks like it is accepting just double Url encode.
Thank you.
Swagger, returning a 204 but not deleting the file. Spaces replaced for %20".
One thing to check is if the spaces are for sure the problem.
I got stuck on trying to find why a Storage bucket wouldnt work. Turned out when I copied the name from one tenant to another, it added a leading space to the bucket name, however when the Orchestrator displays the name it seems to do a trim and remove the leading space. I had the use the API to get the name accurately.
So, I’d suggest finding the file via the API first so you can really check the name and not rely on what Orchestrator is showing / formatting for you as that could be the reason.
The API can and does work with spaces in the name.
Hello,
Yes, actually orchestrator UI converts double space into one space.
But we are getting the file name from List storage bucket activity and from Swagger, and Swagger is failing as well.
I think a small fix to this issue will be part of the next version of the System package. It was technically to allow some special characters, but this case should be covered by the fix as well.