Recent days I am getting "There was an internal error" error message from Google while calling Google Analytics API to get reports data. Previously the same API works fine. Following are the dimensions and metrics we used,
dimensions : ga:campaign,ga:adGroup,ga:keyword,ga:adContent,ga:date
metrics : ga:sessions,ga:bounces,ga:impressions,ga:adClicks,ga:adCost,ga:transactions,ga:RPC
When I remove the metrics parameter it's working fine. Can't figure out why this metrics value causes problem. Below is the full error message which I am facing
{
"error":{
"errors":[
{
"domain":"global",
"reason":"internalError",
"message":"There was an internal error."
}
],
"code":500,
"message":"There was an internal error."
}
}
I just encountered the same issue - it turns out that my adblocking extension (uBlock Origin) was interfering with the page. Disabling it resolved the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With