garb
garb copied to clipboard
Garb is not working - v2.3 was shutdown
Seems that API version 2.3 was shutdown and Garb is not working anymore.
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.
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
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
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>"
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.
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.
Just to let everyone know - Gattica was also based on it, so we're seeing the same thing too :(
I took @jamescook's fork and started working with it more to support V3: https://github.com/cgunther/garb/tree/v3
Any update on this?