Google Analytics Internal Error

In recent days, I get a "There is an internal error" error message from Google, calling the Google Analytics API to retrieve reporting data. Previously, the same API worked fine. Below are the sizes and metrics we used,

sizes : 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 delete the metrics parameter, it works fine. I can’t understand why this indicator value causes a problem. Below is the full error message I am encountering

{
" Mistake": {
" mistake": [
{
"Domain": "global",
"Reason": "InternalError",
"message": "An internal error has occurred."
}
],
"Code": 500,
"message": "An internal error has occurred."
}
}

+8
error-handling analytics google-analytics google-analytics-api google-analytics-v4
source share
1 answer

I ran into the same problem - it turned out that my adblock extension (uBlock Origin) was interfering with the page. When disconnected, he fixed the error.

+17
source share

All Articles