Exception: Save Image failed. Check if the file name is a valid path

Hi all,

I have been running a flow that saves a screenshot as an image file for afew weeks and it has been working perfectly. Suddenly this error pops up almost half the time and I can’t seem to figure out why.
There was no change made to file names or file paths from the time it was published to now.

Most similar threads seem to advise to check the file path but I am pretty sure there is nothing wrong with it.

Wondering if anyone faced this issue before and able to provide some advice? Thanks!

Try to print that file name before taking screenshot and check whether it is empty

1 Like

Hi, I managed to resolve the problem by restarting the Virtual Machine that I was running this script on. This issue still comes up once in awhile for some reason.
Thanks for your help!

1 Like