Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
oiluj0002
Frequent Visitor

"We found an unexpected character in the JSON input" error in getting data from google analytics

I need help!

 

When I need to import some Data from google analytics API in Power BI I get that error and can't import data anymore at least for hours. It is related to the data inside GA4 or another thing?

 

Captura de tela 2023-12-12 090739.pngCaptura de tela 2023-12-12 091523.png

23 REPLIES 23
Syndicate_Admin
Administrator
Administrator

Hello, did you find some workaround for this issue? Thank you

Not exactly. Magically the GA4 api worked, i think it's a problem with connection between GA4 and PowerBI

MongooseGeneral
Frequent Visitor

I've been getting this too to the point where I can't refresh the data anymore so must be an issue with the connector / PowerBI. I meant to post about it but was hoping it would resolve itself.

 

It seems like it can process a certain amount but then I get the error and from then on it just fails instantly for all GA4 sources for a period. Glad to know it's not just me.

 

I do have GA4 data in other reports that is refreshing OK, so I wonder if it's due to the amount going through. I might try heavily filtering the data once it lets me to see if that helps. I've been having the problem for at least 2 weeks, probably longer I think.

 

Hopefully someone else knows more.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.