Reputation: 51
When doing some file subscriptions (a.k.a. watch) on some files i encountered a API rate limit which seems to have nothing to do with the general Google Drive API Quotas found in the cloud console.
After doing some file watches i get this error:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "subscriptionRateLimitExceeded",
"message": "Rate limit exceeded for creating file subscriptions."
}
],
"code": 403,
"message": "Rate limit exceeded for creating file subscriptions."
}
}
There seems to be no documentation about this rate limit anywhere regarding the queries/seconds/user limit.
I started to hit the limit when doing more than 70 subscriptions in less than 60s with one user.
Upvotes: 2
Views: 745
Reputation: 51
After contacting google support regarding this rate limit i got the answer that not all limits are published to prevent abuse. And unpublished limits are not adjustable.
I have not investigated the limit to get a general feel for it or how often it is replenished. But it seems that it is quite lower than the general Drive API Quota.
The only option is to wait for exponential backoff if you need to burst some drive file subscriptions.
Upvotes: 3