You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
Hello,
We have been running into an error when querying the Docs API: 403 - Rate limit exceeded, lower query rate. We have a couple questions regarding this error:
What exactly is the rate limit? I've heard whispers of 10 req/sec but I can't find a confirmed number.
What combination of Maximum Rate and Bucket Size for a queue would result in reliably not hitting said limit?
Thanks!
Tom Davis
unread,
Feb 3, 2011, 12:23:50 PM2/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
Additionally, we've also found that this results in 503 errors <http://www.google.com/support/websearch/bin/answer.py?&answer=86640> afterwards for an indeterminate amount of time. Apparently our "computer or network may be sending automated queries," which is hardly unexpected given that it's querying an API...
Vic Fryzel
unread,
Feb 3, 2011, 12:27:23 PM2/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
Hi Tom,
Yes, there is a qps limit per user. We don't document the limit in case we need to change it, and applications should exponentially back-off as needed. That is, if you get a 403 or 503, wait slightly longer, then try again.
Thanks,
-Vic
Tom Davis
unread,
Feb 3, 2011, 2:59:10 PM2/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
Thanks for the fast reply, Vic. Do you have a recommended starting point for backing off? Like, should we wait 5 seconds or 50? This only effects us when doing jobs that take a while to test so we'd really appreciate any rules of thumb you can provide.
Vic Fryzel
unread,
Feb 3, 2011, 3:08:29 PM2/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-docum...@googlegroups.com
So in general I recommend exponential back-off. That goes something like this: