ews-managed-api icon indicating copy to clipboard operation
ews-managed-api copied to clipboard

"Internal Server Error" thrown by EnableAlwaysCategorizeItemsInConversations()

Open avereshchak opened this issue 6 years ago • 3 comments

One of our clients who is using our product has started experiencing a strange "Internal Server Error" thrown by ExchangeService.EnableAlwaysCategorizeItemsInConversations() which worked for him before.

I do not have access to his mailbox (it's an Office365 account) and have only the EWS logs (please find them attached). Unfortunately it wasn't a transient error and I had to disable the autocategorization feature in our product to allow him using other features.

What could cause that problem? Has anyone experienced it or has ideas on how to troubleshoot it?

Thanks, Anton

avereshchak avatar Mar 07 '18 14:03 avereshchak

The things getting worse. Now my corporate O365 account is affected by "Internal Server Error" Exchange error identical to the one attached in my original post. Any ideas guys?

Here is a sample code which throws a ServiceResponseException:

var propertySet = new PropertySet(
    BasePropertySet.IdOnly, 
    ItemSchema.ConversationId);

var emails = service.FindItems(
    WellKnownFolderName.Inbox, 
    new ItemView(100)
    {
        PropertySet = propertySet
    });

var ids = emails.Select(i => i.ConversationId)
                .Distinct()
                .Take(10)
                .ToList();

var categories = new[] {"My category"};
var response = service.EnableAlwaysCategorizeItemsInConversations(
    ids, 
    categories, 
    true);

avereshchak avatar Mar 16 '18 15:03 avereshchak

Seems it's fixed now, my sample and product are working fine.

Does Microsoft informs about any updates being made to O365 servers? It'd be useful to monitor for breaking changes.

Thanks!

avereshchak avatar Jun 13 '18 11:06 avereshchak

For bug fix level stuff, not that I am aware of. For larger scale stuff, there will typically be blog posts or other public announcements.

davster avatar Jun 13 '18 16:06 davster