我已经使用Microsoft的v1.0 方法近五个月了。该错误在给定或占用20秒后接收。repeat the request after a delay, the length of which may be specified in a Retry-After header.
504May occur together with
当我们尝试使用GraphAPI从日历中获取会议时,我们得到了异常 获取日历事件的代码: GraphServiceClient service = new GraphServiceClient(at Microsoft.Graph.HttpProvider.System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Graph.
在使用GraphAPI时,我注意到我的租户中的特定用户收到503个错误(有时是504个错误,但更少)。com.microsoft.graph.http.GraphFatalServiceException: Unexpected exception returned from the service.ErrorGET https://graph.microsoft.com/v1.0
这段代码有时可以工作,但经常运行约20秒,然后在我调用getPage()时失败,并显示"503 Service Unavailable“消息。身份验证/令牌请求似乎工作正常。我不认为这是一个节流错误,因为没有返回“Retry After”头,并且脚本每天晚上只运行一次,返回<200条记录。我还尝试删除$filter并按照here的说明更改参数顺序,但没有明显的好处。/vendor/autoload.php';
use Microsoft\G