Reputation: 251
I am getting this while creating a calendar
subscription
using Microsoft Graph
.
it's throwing this exception
Operation: Create; Exception: [Status Code: 429; Reason: Resource
'SubscriptionCountReached' has reached limit of '1000'. Please retry
after '12/31/9999 11:59:59 PM']
Any ideas about what does this mean?
Upvotes: 0
Views: 537
Reputation: 5020
Error code 429
means that your quota of times
you can ping service in the interval that is predetermined.
For a better way to handle that you can follow this blog Microsoft Graph/Outlook REST API throttling, best practices
try to reduce the amount
of the requests sent in a given time to fix your issue.
Reduce the number of operations per request.
Reduce the frequency of calls.
Avoid immediate retries, because all requests accrue against your usage limits.
Reduce the number of GET call for single items.
Upvotes: 0
Reputation: 23174
It means you have already reached your allowed number of requests for your subscription plan (which seems to be 1000, as per the error message), and thus you probably have to pay (or change plan, or have an arrangement with Microsoft, etc.) to be allowed to send further requests without error.
The date being set as the maximum possible date (31st December 9999) is usually set in this context for telling that the count limit will not be "reset", you reached some hard limit.
For details about the exact conditions of your plan, on how you can change these, or if you think this is a mistake, you'll have to contact Microsoft support directly, as Stack Overflow is not the right place to get such information
Upvotes: 1