Message: Job stopped with an unexpected exit code: 0xE0434352 Exception Type: System.Exception RemoteException wrapping System.Exception: Job stopped with an unexpected exit code: 0xE0434352 error while using invoke code for image format change

21.4.4+Branch.master.Sha.a8b5101efe02651274064093e9c7410fedff7696 Message: Job stopped with an unexpected exit code: 0xE0434352 Exception Type: System.Exception RemoteException wrapping System.Exception: Job stopped with an unexpected exit code: 0xE0434352 error while using invoke code for image format change from html to jpeg
Code is : “Dim img As System.Drawing.Image
img = System.Drawing.Image.FromFile(“C:\Users\rkumar\OneDrive - TSPI Infotech Pvt Ltd\Documents\UiPath\BlankProcess14\rtye.html”)
img.Save(“C:\Users\rkumar\OneDrive - TSPI Infotech Pvt Ltd\Documents\UiPath\BlankProcess14\test.png”,ImageFormat.Png)”

@Ritesh_Kumar2

Welcome to forums

This is the error clearly saying that your job stopped by having expection in Invoke code

We suggest to give more info regarding your query, so that this will understand your problem clearly

Thanks

Hello Srini,
This code is working for all other image code conversion but when i am downloading image by http request from specific url and that url by default downloading file in html format so i need to convert that html file to any image format…