Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Getting error: User Rate Limit Exceeded
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
RG  
View profile  
 More options May 1 2012, 8:58 am
From: RG <a...@kitestack.com>
Date: Tue, 1 May 2012 05:58:34 -0700 (PDT)
Local: Tues, May 1 2012 8:58 am
Subject: Getting error: User Rate Limit Exceeded
Hi,

One of my users can't connect to his Google Analytics account from my
Cocoa app. He always gets the error "User Rate Limit Exceeded".

From what he tells me I think the authentication goes through, but
when my app tries to fetch the number of website profiles the error is
returned.

I have increased the Per-User Limit from 1 to 20 requests per second,
but that didn't help. Also, he is the only one with that error. All
other users have been fine even with requests limited to 1 per second.

Daily requests are far below daily quota.

Is there any other reason why the above error could be returned?

Thanks,
Rico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options May 1 2012, 9:52 am
From: Greg Robbins <grobb...@google.com>
Date: Tue, 1 May 2012 06:52:58 -0700
Local: Tues, May 1 2012 9:52 am
Subject: Re: Getting error: User Rate Limit Exceeded

That error typically reflects a quota limit being exceeded, or a client
sending too many unbatcheded requests at once.

This is an appropriate question for the Analytics API developer forums, at
https://developers.google.com/analytics/community/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RG  
View profile  
 More options May 9 2012, 5:27 am
From: RG <a...@kitestack.com>
Date: Wed, 9 May 2012 02:27:14 -0700 (PDT)
Local: Wed, May 9 2012 5:27 am
Subject: Re: Getting error: User Rate Limit Exceeded

Hi Greg,

Thanks for the link. I posted a question to the management API group, but
no response yet.

In the meantime I refactored my code to use batched requests. However, a
few queries in the batch still fail with "*User Rate Limit Exceeded".*

I must be missing something, because the setup seems straight forward:

(1) Run normal (unbatched) query for the management account list

  *Sleep 5 seconds (for testing)*

(2) Run a second query, batched, for all web properties (in my case just
one sub-query)

  *Sleep another 5 seconds (for testing)*

(3) Run a third query, batched, for all website profiles (20 sub-queries in
my case)

-> A few sub-queries in the batch fail each time

I don't understand why the rate limit would be exceeded. The way I
understand the above is that I'm executing* a total of only 3 queries, each
with a 5 second break in-between*. Rate limit in the API console is 20
requests per second (I also tried 2000 per second).

Thanks,
Rico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options May 9 2012, 11:25 am
From: Greg Robbins <grobb...@google.com>
Date: Wed, 9 May 2012 08:25:02 -0700
Local: Wed, May 9 2012 11:25 am
Subject: Re: Getting error: User Rate Limit Exceeded

A mis-configured client (in the Google API console) or requests without the
ID required by the API (the API key, or the OAuth 2 client ID) can also
cause quota failures.

Be sure to check the requests in the http logs generated by the library to
verify that an appropriate request header is included.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RG  
View profile  
 More options May 10 2012, 7:05 am
From: RG <a...@kitestack.com>
Date: Thu, 10 May 2012 04:05:56 -0700 (PDT)
Local: Thurs, May 10 2012 7:05 am
Subject: Re: Getting error: User Rate Limit Exceeded

I'm using OAuth 2 authentication. The logs show that the request includes
the Authorization header:

*2012-05-10 10:53:47 +0000      batch: analytics.management.profiles.list
(20 queries) *
*request:* POST https://www.googleapis.com/rpc?prettyPrint=false
   headers: 5    *authorized*
   data: 3236 bytes, application/json-rpc; charset=utf-8
*response:*  status 200
   headers: 11
   data: 258032 bytes, application/json

Details:

batch: analytics.management.profiles.list (20 queries)

2012-05-10 10:53:47 +0000
Request: POST https://www.googleapis.com/rpc?prettyPrint=false
Request headers:
  Accept: application/json-rpc
  Authorization: Bearer _snip_
  Cache-Control: no-cache
  Content-Type: application/json-rpc; charset=utf-8
  User-Agent: com.example.app/1.0.1 google-api-objc-client/2.0 MacOSX/10.7.3 (gzip)

Does this look good to you or is there something missing?

-Rico


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options May 10 2012, 9:44 pm
From: Greg Robbins <grobb...@google.com>
Date: Thu, 10 May 2012 18:44:48 -0700
Local: Thurs, May 10 2012 9:44 pm
Subject: Re: Getting error: User Rate Limit Exceeded

That looks normal for an OAuth 2 authorized request. Perhaps the Client ID
no longer has any associated quota allowed for the service.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Pérez Rada  
View profile  
 More options Jan 7, 9:10 am
From: Daniel Pérez Rada <dperezr...@gmail.com>
Date: Mon, 7 Jan 2013 06:10:14 -0800 (PST)
Local: Mon, Jan 7 2013 9:10 am
Subject: Re: Getting error: User Rate Limit Exceeded

Hi,
I have the same problem, and I realize from the documentation
(https://developers.google.com/analytics/devguides/reporting/core/v3/c...)
there is a request per second limit.
The default request per second limit is 1.
You can change it up to 10 in this url (you have to put your <PROJECT_ID>:
https://code.google.com/apis/console/b/0/#project:<PROJECT_ID>:quotas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »