问题
Occasionally when sending an email through the Office365 API, we get an error back:
excerpt:
{"httpCode":503,"headers":"HTTP/1.1 100 Continue\r\n\r\nHTTP/1.1 503
Service UnavailableX-MS-Diagnostics: Routing Validation; Mailbox
database change detected; moved from database 31f16b42-8c32-43a3-a05f-
f554bb4c579f to 78f2e7a1-e65f-4148-8be4-b98ac0635fdf\r\nX-
BEServerRoutingError: Mailbox database change detected; moved from
database 31f16b42-8c32-43a3-a05f-f554bb4c579f to 78f2e7a1-e65f-4148-
8be4-b98ac0635fdf"}
Does anyone know why this happens,its annoying when the client thinks your app is faulty, when its actually an error within the Office API which causes it.
回答1:
You just made a call in the middle of a re-balancing operation. Just retry your call. For things like this, you shouldn't need to show them to the client.
来源:https://stackoverflow.com/questions/49450237/office365-api-error-mailbox-database-change-detected