Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Exchange online server returns "not found" error when to access a just arrived mail via EWS API

$
0
0

Hello,

Our program have been experiencing some weird errors when it access the mails in office 365 via EWS API. It happens in two scenarios, here is the details:

1. Our program receive the "NewMail" event via EWS Push notificaiton, and then access this mail with the according mail ID via EWS API. Sometimes, exchange online server returns the following message: 

"The specified object was not found in the store."

And if we do retry five minutes later, sometimes it will be successful, but most the time, the retry would fail, even we retry two times in 10 minutes.

2. Our program move some mail to another folder in the same mailbox, and the new ID of that moved mail is got successfully which means the movement is successful. And then some minutes (3~5) later, with the new ID, access the moved mail again, sometimes, exchange online server also return the message:

"The specified object was not found in the store."

But if we retry again, for example, several hours later, the mail would be access successful.

So, my question, what cause the exchange online server returns the message--"The specified object was not found in the store." since the mail does exist in the mail store at that moment?

And for this kind of error message, what the program could do, just do retry in a more longer time period?



Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>