Igb*_*man 5 office365api microsoft-graph microsoft-graph-mail
从本周开始gateway timeout
,当我的邮件搜索找不到任何结果时,我突然从Graph中获取信息。
我正在使用这样的查询:
https://graph.microsoft.com/v1.0/users/shared@notreal.com/mailFolders/AllItems/messages?$search="participants:some.person@fake.com"&$select=from,subject,HasAttachments,Id,SentDateTime&$top=100
Run Code Online (Sandbox Code Playgroud)
这是一个图查询,它从shared@notreal.com
发送者或接收者包括的Office 365邮箱中请求最多100封电子邮件some.person@fake.com
。shared@notreal.com
是与拨打电话的帐户共享的邮箱。
我的应用已通过oauth2身份验证代码流进行了身份验证,并已获得所有必要的权限。
This has been working for about a year. But starting a few days ago, this query only succeeds if results are found. When no results are found, the query takes 30 seconds, Graph returns UnknownError
and the response is 504
with reasonphrase Gateway Timeout
.
It seems as though something has changed in the Graph API - or perhaps in the Office 365 API, but I can't find any mention of it anywhere.
Microsoft specifically directs questions about the Graph API to stackoverflow, so here I am. I hope the right people are reading.
Why has this suddenly started happening and how can I fix it?
Update: there are now numerous reports of this issue, confirming that it's at Microsoft's end.
归档时间: |
|
查看次数: |
170 次 |
最近记录: |