"rateLimitExceeded", "Insufficient quota to proceed." (Is old API no longer Supported?)

99 views
Skip to first unread message

Martin

unread,
Mar 6, 2012, 1:22:40 PM3/6/12
to google-analytics-api - GA Data Export API, ml9...@gmail.com
We've been using a Java API to access analytics data for a few years
now using the following Jar files: gdata-analytics-2.1.jar gdata-
analytics-meta-2.1.jar gdata-client-1.0.jar gdata-client-
meta-1.0.jar gdata-core-1.0.jar

The app gets the service and logs in like this:

AnalyticsService as = new AnalyticsService("analytics");
as.setUserCredentials(args[0], args[1]);

and gets DataFeeds like this:

as.getFeed(url, DataFeed.class);

The URL is build manually.
(There's no oAuth token explicitly used or anything like that.)

Starting about a week ago, all request for data feeds get a
"rateLimitExceeded", "Insufficient quota to proceed." error.

Everything has been running nicely from a bash script for a months and
months before we started getting this error.

Do I need to upgrade to the newer version of the API and update our
Java code to use it, or can I still continue to use the API I'm
using?

(I have added in sleeps to help prevent more than 1 datafeed request
per second since the problem started, but I still only get errors.)

Nick

unread,
Mar 6, 2012, 2:30:13 PM3/6/12
to google-analytics...@googlegroups.com, ml9...@gmail.com
Hi,

We did release a new version (and did announce the deprecation of the version you are using). But that shouldn't effect your quota policy.

One simple option is to just migrate to the new version of our API. You can do so using the sample client library.

You just need to change the end point from:
to 

The you need to register your application in the Google API console: https://code.google.com/apis/console/b/0/
and use the API key value as a new parameter to all your queries.

ie &key={apiKey}

Doing this will ensure you don't have future issues when we deprecate the API you're using.

-Nick

Martin

unread,
Mar 6, 2012, 3:34:58 PM3/6/12
to google-analytics-api - GA Data Export API
Thank you!

It is all working again with minimal code change using the same client
library.



On Mar 6, 2:30 pm, Nick <n...@google.com> wrote:
> Hi,
>
> We did release a new version (and did announce the deprecation of the
> version you are using). But that shouldn't effect your quota policy.
>
> One simple option is to just migrate to the new version of our API. You can
> do so using the sample client library.
>
> You just need to change the end point from:https://www.google.com/analytics/feeds/data
> tohttps://www.googleapis.com/analytics/v2.4/data
Reply all
Reply to author
Forward
0 new messages