cancel
Showing results for 
Search instead for 
Did you mean: 

Outlook VBO - exception thrown by code stage: Exception from HRESULT: 0x80040401

DerekTeague
Level 4
Can anybody advise what causes occasional error 'exception thrown by code stage: Exception from HRESULT: 0x80040401'  when calling Outlook VBO action 'Get Sent Items (Advanced)' using a subject line filter query.

Can't seem to find any other post /thread for this error code.
Thanks


------------------------------
Derek
------------------------------
3 REPLIES 3

BohyonHwang
Level 9
HRESULT is a computer programming data type that represents the completion status of a function. Expecially, it is used in the source code of applications targeting Microsoft Windows and earlier IBM/Microsoft OS/2 operating systems. That means the problem comes from MS Outlook rather than Blue Prism.

The followin URL may be helpful for you, I guess.
https://social.technet.microsoft.com/Forums/lync/en-US/7848d591-df36-49b9-895b-b5760fb02532/quotsending-reported-error-0x80040201-unknown-error-0x80040201quot?forum=outlook

------------------------------
Bohyon Hwang
Director
블루프리즘
Seoul
+82262033950
------------------------------

In addition to this you can also go to through the below video 

https://youtu.be/3urcGh34QdM

seeing it would be easy is guess ! 🙂



------------------------------
Anil Kumar Juttada RPA Business Analyst
RPA Business Systems Analyst
CDK Global
------------------------------

ewilson
Staff
Staff

Hello @Derek Teague,

HRESULT 0x80040401​ appears to be a MAPI_Timeout error. In other words, the VBO is trying to access the message store and for some reason it's being delayed and the request times out.

When this occurs, does the particular mailbox have a lot of mail in it?

This thread discusses one possible solution:

https://social.technet.microsoft.com/Forums/exchange/en-US/d5bd9079-03ef-4f5c-b865-14b225cf6c6e/where-to-have-this-option-mailboxlockmaximumwaitcount?forum=exchangesvradmin

Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------