Wait for Download activity threw or propagated an exception while being canceled


I encountered this error when downloading a file:
Invoke Workflow File: The activity ‘Wait for Download’ with ID 183 threw or propagated an exception while being canceled.

The download didn’t succeed because of some strange behavior of the application, but the activity Wait for Download is inside a Retry Scope activity and is designed to retry downloading the file for maximum 3 times, but it seems that this time it didn’t retried at all and nether didn’t entered in my Catch block from the TryCatch, the flow just stopped at that error completely.

Hi @Oana_Georgiana_Vasile

Can you try to upgrade the packages uiautomation and system.activities and check again?


Hello @Oana_Georgiana_Vasile

Can you share the screenshot of the activity that you have configured.


Hi @Oana_Georgiana_Vasile

Do you still happen to have a small dummy project that reproduces this issue?

I don’t have the source code anymore.
But if I remember well, this issue was solved when I configured the activity to exclude the temporary files generated by Chrome for downloads.

Ref: https://docs.uipath.com/activities/docs/get-last-downloaded-fileMake sure that the specified Downloads folder doesn’t contain temporary files created by other applications, such as Microsoft Office apps. The Wait for Download activity may mistake these files for downloaded files.

This topic can be closed. Thank you.

1 Like