500 Internal Server Error

355 views
Skip to first unread message

Miroslav Čillík

unread,
Nov 19, 2014, 9:02:00 AM11/19/14
to google-analytics...@googlegroups.com
Hello,

in last two weeks I sometimes (quite often, but not always) get "500 Internal Server Error" response from GA Core Reporting API. Here's the response:


This only happens on this particular account, and exponential backoff doesn't help much, I have set it like: 7 retry, total sum of waiting time is ~7 minutes.
I'm calling the API from PHP server application. I'm not using the PHP client library provided by GA, I wrote my own.

I suppose it's some glitch on the GA side. Any information about this will be appreciated. 

Thanks, Miro

mschenkel

unread,
Nov 19, 2014, 12:18:45 PM11/19/14
to google-analytics...@googlegroups.com
I myself often see periods where I get 500 and 503 errors.  Most of the time it happens only for a period of a couple minutes and then resumes.  Never have I seen an instance where it lasted for more than 15 minutes.  I just assumed it was something on Google's side.

Pete

unread,
Nov 20, 2014, 11:24:40 AM11/20/14
to google-analytics...@googlegroups.com
For a 500 or 503 you can retry but if it's always failing then you'll probably have to adjust the query (i.e. reduce complexity or time period) since the problem is likely a timeout. Continually retrying isn't going to fix the problem unless it is transient in nature. 
Reply all
Reply to author
Forward
0 new messages