Our application currently makes lots of calls to the Google Drive API in order to retrieve changes, permissions, files, etc. Currently we're grappling with 403 rateLimitExceeded
errors.
According to the documentation here, there are two solutions:
- Batch the requests.
- Use exponential backoff to retry the request.
We'd like to implement batching to help mitigate the errors. However, according to the documentation here:
A set of n requests batched together counts toward your usage limit as n requests, not as one request. The batch request is taken apart into a set of requests before processing.
I guess my question is, does a set of n requests as part of a single batch still count as n requests towards the rate limit? Meaning if a batch contains as many requests as would trigger a 403 rateLimitExceeded
, would that error still be returned?
Any assistance is greatly appreciated.