UiPath.Core.ImageOperationException:


#1

Hi guys!
My steps:

Take screenshot activity to capture the screenshot.
Save image activity to save the image.
Send email activity to send the screenshot as an attachment.
Note: When ever i am running the artifact, for the first loop it is performing correctly. But when it executes for the second time inside the same loop, i am getting this following error.

UiPath.Core.ImageOperationException: Save image failed. Check if the file name is a valid path —> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.