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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Connecting to Google Analytics and trying to filter in Power Query

Hi

 

I have connected to Google Analytics and the connection works fine, however when I try and filter on dates (I only want to see a year or so worth of data), I get the following error message

 

Expression.Error: The field 'errors' of the record wasn't found.
Details:
code=400
message=Invalid JSON payload received. Message too deep. Max recursion depth reached for key ''
status=INVALID_ARGUMENT

 

any idea what this may mean?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Based on the error message you've shared, it seems like you're encountering a problem related to the maximum recursion depth being exceeded. This typically occurs when the query sent to Google Analytics is too complex or nested beyond what Google Analytics can process.


Clukaych provides a workaround, check if it fits your use case.
Google Analytics Connectior Beta (2.0) - error whe... - Microsoft Fabric Community


Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

2 REPLIES 2
ReportGuru
Post Patron
Post Patron

Hi @Anonymous As a workaround, maybe you can try to test your connection with a 3rd party tool and see if it works well. I connect my GA4 data through this method and I've never had any similar error message. I've tried windsor.ai, supemetrics, and funnel.io. I stayed with Windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the GA4 connector in the data sources list:

 

GA4-1.png

 

After that, just grant access to your GA4 account using your credentials, then on preview and destination page you will see a preview of your GA4 fields:

 

GA4-2.png

 

There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url. 

 

SELECT_DESTINATION_NEW.png

Anonymous
Not applicable

Hi @Anonymous ,

Based on the error message you've shared, it seems like you're encountering a problem related to the maximum recursion depth being exceeded. This typically occurs when the query sent to Google Analytics is too complex or nested beyond what Google Analytics can process.


Clukaych provides a workaround, check if it fits your use case.
Google Analytics Connectior Beta (2.0) - error whe... - Microsoft Fabric Community


Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors