andeedee / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

Random Encoded String is coming from Google Analytics API #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Today I started facing a problem when I am fetching the Google Analytics 
Reports Data. Earlier When I was requesting data from using GAPI, then full 
readable response was coming. But from yesterday night automatically Random 
Encoded String is coming from Google Analytics API when I am using it by GAPI.

Can anyone knows the solution for this? I did not make any changes to my 
script, but still the encoded string is coming. Is that the possibility that 
google has blocked my server IP? Because I ran cronjob which send almost 30000 
calls a day on Google Analytics API.

But if they would have banned my server IP, then the response must be different 
than the current one (which I am getting).

I am getting the following response from CURL:

Array
(
    [body] => SID=DQAAAPQAAACA9YnUnZKa91xgoMTCuuENlcS1RZZuVY-ujtJJfP-d3Je4bLeSIpsupRdQtUgQh3iauYjPh_dMMJyiYLr09usHeEGRm_p8Z6O84vV6WAaJCxgzS9QKLQCkHZ80PkXRKvkAgKIkmfvJlCT3Ok0NUtWaNskwFtkfPv_8aO6bEAzbesUdBWs6sb_c6TC2QfMNnJQUoxB_8WFfRxc0QhKfCZMDeGmmKUlUs-qc5EDjfz5SeNDZD1DwfD4TmprBqsZPAZg_f2BfhPZn8i6Q-CPHoAT5E9lNAMHohrArLavhSu1HHOgYJotJjTtxcLYZAqV1ogLp0NczXm4zq-Em0CeSAazu
LSID=DQAAAPcAAACIh-llBGy10SpD-1URnggEGSBGjPRwus25_qdtdjTfR0ZuRVa9jndJIYkdMTj8Imi
GRdV62jJ3rpCau7bkR261Fid4DfWAO6pYI3VkhGCB7ngjPDKOOOuUYBzNlhNpPGpiwcP76CrLLyvhuQ_
YxMCBOusgvvxdqbWv5P-7TiaNwqrgFF7SPFxJRsvH2NeiPkISpLaDTE6LeRxA_ZLNa4J-wyUUoxl4ltk
VjC4D7-XGGlTYXqdXQi0f-GzIxsI8oPCfnP83J8ADFjAuSTlMQMxuvcBbSq6SN5cTzpkoidu7D75-5Pj
13iNU6PCGY5ZQLZuhlIL0AfF1OPj6iW1oGlH_
Auth=DQAAAPYAAACIh-llBGy10SpD-1URnggEGSBGjPRwus25_qdtdjTfR0ZuRVa9jndJIYkdMTj8Imi
GRdV62jJ3rpCau7bkR261nFYUF9DV_5m4uY_xBCDJbe2eDLdteFv_RhDt7U2AIdY3y-Ni7X3_Vw-DROC
F4RmUxt9pj1ULWF1ujFACXyoGgTqjcdnzfzxgOaSYXQgfpVMEXGMIyz2cQxDDTdZxdzwFVTu0pe9Ngpp
YNJYOLmkR-_PJvlX51yNRCBOla7KRndcoTrweOzKSQKIhZfo9ih4WoThYjzReHil70QjqwmHD84SWf7f
oBlFNcyivFNGupggHilF1spkwNNOOg-QQY9ti

    [code] => 200
)

What is the expected output? What do you see instead?
The output coming earlier was not encoded and it was full response.

What version of the product are you using? On what operating system?
3.1

Original issue reported on code.google.com by jslimetr...@gmail.com on 11 Jul 2014 at 9:15

GoogleCodeExporter commented 9 years ago
I am using 1.3.1 modified by some guy (he did bug fixes)

Original comment by jslimetr...@gmail.com on 11 Jul 2014 at 10:57

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hey, the actual error was

Array
(
    [body] => usageLimitsuserRateLimitExceededUnregUser Rate Limit Exceeded. Please sign uphttps://code.google.com/apis/console
    [code] => 403
)

Earlier I was debugging the Authorization Token. :)

Original comment by jslimetr...@gmail.com on 17 Jul 2014 at 6:18