Microsoft Graph Api の v1.0リスト メッセージメソッドを 5 か月近く使用しています。
ここ数日、クエリ文字列に$searchパラメータを追加すると、エラーが返され始めました。503または504エラー コードが表示される
エラーは、ギブ オア テイク 20 秒後に受信されます。
次のメッセージとともに:
{
"error": {
"code": "UnknownError",
"message": "",
"innerError": {
"request-id": "8fd1d9ed-cde6-4237-b1a7-ab089a28d37e",
"date": "2019-07-02T10:09:48"
}
}
}
503 Service Unavailable The service is temporarily unavailable for maintenance or is overloaded. You may repeat the request after a delay, the length of which may be specified in a Retry-After header.
504 Gateway Timeout The server, while acting as a proxy, did not receive a timely response from the upstream server it needed to access in attempting to complete the request. May occur together with 503.
Microsoft の Developer ツールであるGraph Explorerを使用して API メソッドを呼び出しています。
最近まで機能していた API 呼び出しの例:
https://graph.microsoft.com/v1.0/<COMPANY_ID>/users/<USER_ID>/messages?
$search=%22from:<MY_EMAIL>%22&$top=10
常に機能する API 呼び出しの例 ($search パラメーターなし)
https://graph.microsoft.com/v1.0/<COMPANY_ID>/users/<USER_ID>/messages
この件に関して、MS サポートから支援を受けることができませんでした。彼らは実際に私をSOに紹介しました。
うまくいけば、誰かがこの問題に遭遇し、問題に光を当てることができます.
前もって感謝します。