“Specified cast is not valid.” Error in Uipath Get Outlook Mail Message

Hi Team,

We are getting this error: Get Outlook Mail Messages: Specified cast is not valid.

image
Our packages are also updated to the latest version.
image

image

Soultion that worked for us: We removed the recalls email from the inbox, after removing those emails bot was able to read all the emails without any issue.

Ref:
https://forum.uipath.com/t/get-outlook-mail-specified-cast-is-not-valid-error-fixed/322920

I think this is the bug in the Mail.Activities that UiPath needs to fix.

Thank You. Hope this helps :slight_smile: