订阅Microsoft Graph推送通知时的状态码429
问题描述:
我试图订阅Microsoft推送通知,每次尝试拨打订阅端点时都会收到状态码(429太多请求)。根据文档:订阅Microsoft Graph推送通知时的状态码429
https://developer.microsoft.com/en-us/graph/docs/concepts/errors Client application has been throttled and should not attempt to repeat the request until an amount of time has elapsed.
但是,由于我昨天尝试与有这个错误,我现在就来试试,并具有相同的。可能,我应该等待的时间不是主要原因。即使我长时间不请求Microsoft Graph而完全独立请求,也会出现问题。 信息有关请求:
https://graph.microsoft.com/v1.0/subscriptions
请求负载::
{
"resource": "me/calendars/{calendarId}/events",
"notificationUrl": "https://{myApp}/office365/notifications/",
"changeType": "created,updated,deleted",
"expirationDateTime": "2017-07-22T08:23:42Z"
}
错误:
{
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: 429; Reason: ]",
"innerError": {
"request-id": "1ed7e537-8524-4a8b-89eb-43501066e7fa",
"date": "2017-07-19T09:55:27"
}
}
}
什么可这里的问题? Migth它给了这个错误,因为我试图在相同的资源之前进行多次潜水?
答
我们调查了这个请求,并且由于它超过了允许订阅的最大数量而受到限制。
什么是最大值? – dvelopp