python-googleanalytics icon indicating copy to clipboard operation
python-googleanalytics copied to clipboard

GoogleAnalyticsClientError

Open shahanar opened this issue 13 years ago • 5 comments

Hi,

when i try to connect with following code it raises "GoogleAnalyticsClientError" GAError: HTTP Error 404: Not Found

code sample

connection = Connection('[email protected]', 'password') account = connection.get_account('12345678')

shahanar avatar Sep 01 '12 08:09 shahanar

i am getting the same error please look at it

nitishk avatar Sep 04 '12 15:09 nitishk

I am able to connect but when i try to get account it showing the error as mentioned above. I did some research and i think the error lies in path for getting account '/analytics/feeds/accounts/default/'.

nitishk avatar Sep 04 '12 15:09 nitishk

I'm getting the same error. It only started recently.

defrex avatar Sep 04 '12 20:09 defrex

Looks like they shut down the 2.3 version of the API, which removed the Account endpoint.

https://developers.google.com/analytics/resources/articles/gdata-migration-guide

defrex avatar Sep 04 '12 20:09 defrex

@defrex Yes, i studied the link you have posted here and surely account feeds are no longer supported so we need to make calls through management API. did u try using google analytics python client library?

nitishk avatar Sep 05 '12 06:09 nitishk