Hello,
I am working on a script that will automatically configure/update a set of add-ons in the Partner Center based on some local data using the APIs outlined at:
From the perspective of Microsoft's services, this script executes the following HTTP requests:
POST https://login.microsoftonline.com/7078f89d-b984-4a82-af92-b14b7368f818/oauth2/token
GET https://manage.devcenter.microsoft.com/v1.0/my/applications/9PCZH7GBGWMH
GET https://manage.devcenter.microsoft.com/v1.0/my/applications/9PCZH7GBGWMH/listinappproducts
GET https://manage.devcenter.microsoft.com/v1.0/my/inappproducts/9NPTW719VZWS
GET https://manage.devcenter.microsoft.com/v1.0/my/inappproducts/9NX9TFJNM2J3
POST https://manage.devcenter.microsoft.com/v1.0/my/inappproducts/9NPTW719VZWS/submissions
PUT https://manage.devcenter.microsoft.com/v1.0/my/inappproducts/9NPTW719VZWS/submissions/1152921505693802630
POST https://manage.devcenter.microsoft.com/v1.0/my/inappproducts/9NPTW719VZWS/submissions/1152921505693802630/commit
Basically, my tool attempts to log in, list add-ons, and update those that are found to be different. The problem that I'm encountering here is that the last call always results in the following error:
429
{ "statusCode": 429, "message": "Rate limit is exceeded. Try again in 296 seconds." }
The error occurs only on the commit call, regardless of what changes I make to my script to reduce the number of calls made. It also occurs at the same point if I do not use the API for a long period of time (12+ hours). Is this actually some other error or is the rate limit really less than 8 requests in any period of time?
Thanks.