You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just updated to the latest version of the gem, now when I try to pull the list of segments I get the following error:
"The requested URL /analytics/v2.4/management/segments was not found on this server. That’s all we know."
I have no idea why, I looked through the code and the Google Docs for the API, which states that /analytics/v2.4/management/segments is the URL.
Also, another strage thing happens, when I pull data from the API (such as a report) I have to alter your code to make it work, but I don't know why. It should work just as you've written it. Below is the example:
for the do_http_get method:
I update:
response, data = @http.get(query_string, @headers)
to:
response = @http.get(query_string, @headers)
data = response.body
Splitting up the code make it work, otherwise data is nil. Again, it should work from my understanding of Ruby, but for some reason it's not. I have the latest version of ruby.
Thanks for your help, this is truly an awesome gem!!!
The text was updated successfully, but these errors were encountered:
I just updated to the latest version of the gem, now when I try to pull the list of segments I get the following error:
"The requested URL /analytics/v2.4/management/segments was not found on this server. That’s all we know."
I have no idea why, I looked through the code and the Google Docs for the API, which states that /analytics/v2.4/management/segments is the URL.
Also, another strage thing happens, when I pull data from the API (such as a report) I have to alter your code to make it work, but I don't know why. It should work just as you've written it. Below is the example:
for the do_http_get method:
I update:
response, data = @http.get(query_string, @headers)
to:
response = @http.get(query_string, @headers)
data = response.body
Splitting up the code make it work, otherwise data is nil. Again, it should work from my understanding of Ruby, but for some reason it's not. I have the latest version of ruby.
Thanks for your help, this is truly an awesome gem!!!
The text was updated successfully, but these errors were encountered: