Fernando Lopez
Fernando Lopez

Reputation: 21

Google Drive User Rate Limit Exceeded different users and different GAE projects

Is there any one having problems with Google Drive API?

We are getting this error:

error: {,…}
code: 403
errors: [{domain: "usageLimits", reason: "userRateLimitExceeded", message: "User Rate Limit Exceeded"}]
0: {domain: "usageLimits", reason: "userRateLimitExceeded", message: "User Rate Limit Exceeded"}
message: "User Rate Limit Exceeded"

on different API projects (different GAE Projects) and with different user names, network, etc..

It seems a general issue.

See here the logs from the last 7 days: Log image

Upvotes: 1

Views: 967

Answers (1)

kiwidrew
kiwidrew

Reputation: 3313

You need to ensure that you supply the userIp (or quotaUser) parameter on each API request made by your server-side code, as documented in the "Standard Query Parameters" section of the Drive API reference.

Otherwise, it is possible that all of your API requests are being counted against a single user (since they will all be coming from the same IP address) and therefore it wouldn't be surprising if you start running into request rate limitations.

Upvotes: 1

Related Questions