Quota Error: Rate Limit Exceeded

6,265 views
Skip to first unread message

Anders Lynderup

unread,
Nov 16, 2015, 2:36:47 AM11/16/15
to google-analytics-spreadsheet-add-on
Hi

What exactly does this error refer to?

I got this error on sheets where I just get traffic results for the past 30 days.

In total i got this error for 5 data sheets in my excel doc file, but none of them have to many rows with data..

Davis Jones

unread,
Nov 16, 2015, 9:50:50 AM11/16/15
to google-analytics-spreadsheet-add-on
I'm having this same problem and I'm pulling reports from 5 GA properties onto 5 Google Sheets daily

Philip Walton

unread,
Nov 16, 2015, 11:50:23 AM11/16/15
to Davis Jones, google-analytics-spreadsheet-add-on
The add-on uses the Core Reporting API under the hood, so it's subject to all the same limits and quota of that API. 


--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-analytics-spreadsheet-add-on/ed9a505e-3f38-4199-bdbb-c9e410f28008%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Andrea Rapanaro

unread,
Dec 17, 2015, 3:49:49 AM12/17/15
to google-analytics-spreadsheet-add-on
Hi


403 userRateLimitExceeded: indicates that the user rate limit has been exceeded. The maximum rate limit is 10 qps per IP address. The default value set in Google Developers Console is 1 qps per IP address. You can increase this limit in the Google Developers Console to a maximum of 10 qps.

My guess is that it's not about the size, but the Add On is firing all requests in a too short timeframe. The question is: how to tune this?? Any ideas?

Philip Walton

unread,
Dec 18, 2015, 5:45:30 PM12/18/15
to Andrea Rapanaro, google-analytics-spreadsheet-add-on
Hey Andrea, there probably isn't anything for you to do here. I'm not entirely sure why this suddenly started happening, but it's almost certainly not something you did on your end.

The reports are run by the sheets processor, so what's most likely happening is they all have the same IP address and that "user" is hitting the quota limit.


--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.

Andrea Rapanaro

unread,
Jan 4, 2016, 3:41:36 AM1/4/16
to google-analytics-spreadsheet-add-on, andrea....@ctp.com
Thanks for the reply. I understand, but what's the solution here?


On Friday, December 18, 2015 at 11:45:30 PM UTC+1, Philip Walton wrote:
Hey Andrea, there probably isn't anything for you to do here. I'm not entirely sure why this suddenly started happening, but it's almost certainly not something you did on your end.

The reports are run by the sheets processor, so what's most likely happening is they all have the same IP address and that "user" is hitting the quota limit.

On Thu, Dec 17, 2015 at 12:49 AM, Andrea Rapanaro <andrea....@ctp.com> wrote:
Hi


403 userRateLimitExceeded: indicates that the user rate limit has been exceeded. The maximum rate limit is 10 qps per IP address. The default value set in Google Developers Console is 1 qps per IP address. You can increase this limit in the Google Developers Console to a maximum of 10 qps.

My guess is that it's not about the size, but the Add On is firing all requests in a too short timeframe. The question is: how to tune this?? Any ideas?



On Monday, November 16, 2015 at 8:36:47 AM UTC+1, Anders Lynderup wrote:
Hi

What exactly does this error refer to?

I got this error on sheets where I just get traffic results for the past 30 days.

In total i got this error for 5 data sheets in my excel doc file, but none of them have to many rows with data..

--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spreadsheet-add-on+unsubscribe@googlegroups.com.

Xavier Marchand

unread,
Jan 5, 2016, 5:44:10 PM1/5/16
to google-analytics-spreadsheet-add-on, andrea....@ctp.com
Same issue here, although the reports process very little data. 
From the other post with the same subject line, I understand that you're working on a fix. If you have an ETA at some point, that would be great!

Philip Walton

unread,
Jan 6, 2016, 12:26:09 PM1/6/16
to Xavier Marchand, google-analytics-spreadsheet-add-on, Andrea Rapanaro
To update everyone one this, what's happening is the Core Reporting API has IP rate limits, and since a lot of people use this add-on, and the actual script is probably only run on a handful of Google servers, these rate limits are being reached.

The Core Reporting API does not currently have an IP whitelist, so the GA team is planning to work on building one. However, it will probably take at least a week, maybe more to implement, test, QA, document, and release the feature.


On Tue, Jan 5, 2016 at 2:44 PM, Xavier Marchand <marchan...@gmail.com> wrote:
Same issue here, although the reports process very little data. 
From the other post with the same subject line, I understand that you're working on a fix. If you have an ETA at some point, that would be great!

On Monday, January 4, 2016 at 9:41:36 AM UTC+1, Andrea Rapanaro wrote:
Thanks for the reply. I understand, but what's the solution here?


On Friday, December 18, 2015 at 11:45:30 PM UTC+1, Philip Walton wrote:
Hey Andrea, there probably isn't anything for you to do here. I'm not entirely sure why this suddenly started happening, but it's almost certainly not something you did on your end.

The reports are run by the sheets processor, so what's most likely happening is they all have the same IP address and that "user" is hitting the quota limit.

On Thu, Dec 17, 2015 at 12:49 AM, Andrea Rapanaro <andrea....@ctp.com> wrote:
Hi


403 userRateLimitExceeded: indicates that the user rate limit has been exceeded. The maximum rate limit is 10 qps per IP address. The default value set in Google Developers Console is 1 qps per IP address. You can increase this limit in the Google Developers Console to a maximum of 10 qps.

My guess is that it's not about the size, but the Add On is firing all requests in a too short timeframe. The question is: how to tune this?? Any ideas?



On Monday, November 16, 2015 at 8:36:47 AM UTC+1, Anders Lynderup wrote:
Hi

What exactly does this error refer to?

I got this error on sheets where I just get traffic results for the past 30 days.

In total i got this error for 5 data sheets in my excel doc file, but none of them have to many rows with data..

--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-analytics-spreadsheet-add-on/c44738f9-bbdc-4a46-a1cb-e7836d17732f%40googlegroups.com.

a...@peytz.dk

unread,
Feb 5, 2016, 4:06:57 AM2/5/16
to google-analytics-spreadsheet-add-on
Hi

the limits and quota page contains this:

If your application makes all API requests from a single IP address (i.e. on behalf of your users) you should consider using the userIP or quotaUser parameters with each request to get full QPS quota for each user. See the query parameters summary for details.


quotaUser Lets you enforce per-user quotas from a server-side application even in cases when the user's IP address is unknown. This can occur, for example, with applications that run cron jobs on App Engine on a user's behalf.

   

I don't think we need to wait for a fix from GA team, we just need to update the implementation a little bit.

Philip Walton

unread,
Feb 5, 2016, 11:45:04 AM2/5/16
to a...@peytz.dk, google-analytics-spreadsheet-add-on
Thanks, but the apps-scripts framework already implements the quotaUser parameter, so that was already in place and it was still an issue.

However, the fix for this went live last week, so you should stop seeing quota errors when using this add-on.

--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.

mscellan...@gmail.com

unread,
Feb 25, 2016, 1:49:05 PM2/25/16
to google-analytics-spreadsheet-add-on, a...@peytz.dk
I received Quota Error: User Rate Limit Exceeded.  Did anybody else experience this error since "the fix" was implemented?  Appreciate any help to solve this issue.

Philip Walton

unread,
Feb 25, 2016, 2:45:58 PM2/25/16
to mscellan...@gmail.com, google-analytics-spreadsheet-add-on, a...@peytz.dk
So, you're receiving a different error. I know the names are kinda confusing, but the "fix" went out for the error: "Quota Error: Rate Limit Exceeded" and the error you got was "Quota Error: User Rate Limit Exceeded".

The error you got indicates that you personally are using more quota than you're allowed.

To figure out if this is legit or not, I'll need more info from you:

- Did you get this error from a scheduled report or from just running the reports in Sheets?
- How many reports are in the spreadsheet you're getting the error from?
- Are you running reports for more than one spreadsheet at the same time?




On Thu, Feb 25, 2016 at 10:49 AM, <mscellan...@gmail.com> wrote:
I received Quota Error: User Rate Limit Exceeded.  Did anybody else experience this error since "the fix" was implemented?  Appreciate any help to solve this issue.

--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.

mscellan...@gmail.com

unread,
Feb 25, 2016, 5:36:46 PM2/25/16
to google-analytics-spreadsheet-add-on, mscellan...@gmail.com, a...@peytz.dk
Haha, OK.  I have 4 Sheets that are grabbing data from Google Analytics.  I haven't changed anything recently and they've been running smoothly for the past 2 or 3 months since they were created.  To answer your questions:
-Error was from scheduled report
-I have 12 GA reports in Sheets that are scheduled for daily refresh.
-Yes.  Is it possible to circumvent the error by scheduling the refresh at different times?  


Philip Walton

unread,
Feb 25, 2016, 6:36:56 PM2/25/16
to mscellan...@gmail.com, google-analytics-spreadsheet-add-on, a...@peytz.dk
To be honest this error confuses me as well. Technically it means you're making more than 10 requests in a single second, which uses up your quota. And since the add-on makes all requests in series, it's not clear how that could happen.

Scheduling your requests to run at different times couldn't hurt, but if they've been running successfully for months then there's probably something else going on.

I wouldn't worry too much about it unless it starts happening almost every time they run.


--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages