Getting error Operation aborted (0x80004004 (E_ABORT)) while using Get Outlook Mail Message action

Please help me out, trying out UiPath newly. I tried closing outlook as well yet same error. I have an mail account currently signed in Outlook already.

These are the properties:
image

Exact error message:

RemoteException wrapping System.Runtime.InteropServices.COMException: Operation aborted (0x80004004 (E_ABORT))
at Microsoft.Office.Interop.Outlook._MailItem.get_HTMLBody()
at UiPath.Mail.OutlookAPI.AddHtmlBodyAlternateViewIfNeeded(MailMessage mailMessage,
MailItem mailItem)
at UiPath.Mail.OutlookAPI.CreateMailMessageFromOutlookDynamicItem(Object item,
Boolean saveattachments,
String folderpath)
at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site,
T0 arg0,
T1 arg1,
T2 arg2,
T3 arg3)
at UiPath.Mail.OutlookAPI.GetMessages(MAPIFolder inboxFolder,
Int32 count,
MailFilterVariant filterVariant,
EOrderByDate orderByDate,
Boolean onlyUnread,
Boolean markAsRead,
Boolean getAttachments,
CancellationToken cancellationToken)
at UiPath.Mail.OutlookAPI.GetMessages(String account,
String folderMail,
Int32 count,
MailFilterVariant filter,
EOrderByDate orderByDate,
Boolean onlyUnread,
Boolean markAsRead,
Boolean getAttachments,
CancellationToken cancellationToken)
at UiPath.Mail.Outlook.Activities.GetOutlookMailMessages.<>c__DisplayClass40_0.b__0()
at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at UiPath.Mail.Activities.Extensions.TaskExtensions.TimeoutAfter[TResult](Task1 task,
Int32 timeoutMs)
at UiPath.Mail.Activities.GetMailActivity.ExecuteAsync(AsyncCodeActivityContext context,
CancellationToken cancellationToken)
at UiPath.Shared.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at UiPath.Shared.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context,
IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)

HI @shibashis.bhattacharya001

Can you update the mail activity package to the latest version (if you`re not using that already).

Regards
Gokul

Check out this thread @shibashis.bhattacharya001

Regards
Gokul

Thanks, but the package seems to be up to date if I am not wrong.

Hi @shibashis.bhattacharya001

Can you remove the Filter expression in the properties of Get Outlook Mail Message activity and check it

Not sure if this is due to policy. I need to try out same in personal device to verify once.

Okay @shibashis.bhattacharya001 , You can check in you device and let us know. May be some policy issue