garb icon indicating copy to clipboard operation
garb copied to clipboard

Garb is not working - v2.3 was shutdown

Open brunogh opened this issue 13 years ago • 9 comments

Seems that API version 2.3 was shutdown and Garb is not working anymore.

brunogh avatar Jan 11 '12 21:01 brunogh

Has it really been shutdown?

All I can find is this article dated 12/8/11 stating that 2.3 is deprecated but will be supported for 6 months.

cgunther avatar Jan 12 '12 02:01 cgunther

I've tried Garb and got the error code below.

Garb::Request::Data::ClientError: "{"error":{"errors":[{"domain":"global","reason":"unsupportedOutputFormat","message":"Unsupported Output Format","locationType":"parameter","location":"alt"}],"code":400,"message":"Unsupported Output Format"}}"

sended url => /analytics/feeds/datasources/ga/accounts/~all/webproperties/~all/profiles?alt=json

Change log says that "JSON responses are not supported", so v2.3 has been shutdown in a few days. http://code.google.com/intl/en/apis/analytics/community/export_changelog.html

nmatsui avatar Jan 12 '12 06:01 nmatsui

They said about 6 months, but seems it stopped working yesterday. To upgrade to v2.4, Garb will have to parse XML instead of Json that is not supported.

Also at http://code.google.com/apis/analytics/docs/gdata/v2/gdataOverview.html

brunogh avatar Jan 12 '12 11:01 brunogh

It looks like its working again for me. I'm using v0.9.1 of the gem with the XML response. So maybe it was just a temporary glitch on Google's side.

My error was a bit different:

Garb::DataRequest::ClientError: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><errors xmlns=\"http://schemas.google.com/g/2005\"><error><domain>GData</domain><code>required</code><location type=\"parameter\">webPropertyId</location><internalReason>Required parameter: webPropertyId</internalReason></error></errors>"

cgunther avatar Jan 12 '12 21:01 cgunther

I'm having the same issue, how do you set it to use an XML response? It seems like that functionality was removed back in July.

lukeledet avatar Jan 20 '12 23:01 lukeledet

The source here switched from XML to JSON in July but v0.9.1 of the gem predates that, which is what I have in use currently.

cgunther avatar Jan 21 '12 00:01 cgunther

Just to let everyone know - Gattica was also based on it, so we're seeing the same thing too :(

chrisle avatar Jan 24 '12 20:01 chrisle

I took @jamescook's fork and started working with it more to support V3: https://github.com/cgunther/garb/tree/v3

cgunther avatar Jan 25 '12 01:01 cgunther

Any update on this?

glebm avatar May 21 '12 16:05 glebm