Forum Discussion
MichaelDenmark
Aug 25, 2022Copper Contributor
EWS with oAuth "An internal server error occurred. The operation failed."
Hi... Since yesterday, my synchronization application starts throwing exceptions with the following error "An internal server error occurred. The operation failed." It only happen for mai...
MichaelDenmark
Aug 25, 2022Copper Contributor
I've found out that the problem can be solved by added a header after setting ImpersonalteUserId
service.HttpHeaders.Add("X-AnchorMailbox", mailbox.Mailbox);
nsgsanna
Aug 25, 2022Copper Contributor
This also resolved it for us.
The error message is extremely unhelpful and why is it needed is a mystery, but al least it's solved.
The error message is extremely unhelpful and why is it needed is a mystery, but al least it's solved.
- lakshmikanthank1805Jan 04, 2023Copper Contributor
- onlyconnectAug 25, 2022Copper ContributorSame here, thanks so much for posting. I wish there were another way to access the Exchange Online public folders programmatically ...
- MaloAug 26, 2022Copper Contributor
We have similar problem these days. Getting back the same error which tell nothing.
However, we already use the header "X-AnchorMailbox". Strange is that the error is not permanent but occurs occasionally (these days quite often). Retry after few minutes usually passes.
- chad512Aug 26, 2022Copper Contributor
We also already use `X-AnchorMailbox` and still get the same errors.