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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
dreamerz
Regular Visitor

Errors with Google Analytics 2.0 Connector

Error with Google Analytics 2.0 connector from a previously working PowerBi report when refreshing data in the report. When in data transform on the query, errors shows that Google Analytics timed out. When I remove the date filter in the query, the data is refreshed to the latest date and appears fine. When hit "close & apply" report takes a while to load and then appears with this error "Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] GoogleAnalytics failed to get the response: 'The operation has timed out'.. '. Any idea what could be the issue especially when the report was working fine up until last week. 

 

One change noted was my machine was updated to Windows 11 and the error occurred on both Power Bi Desktop Version (April 2024 and Version (May 2024) 2.129.905.0 64-bit.

1 ACCEPTED SOLUTION
CoderZen08
Helper IV
Helper IV

Hi @dreamerz Seems like the 2.0 beta connector is still presenting some issues. As a workaround, maybe you can try to test your connection with a 3rd party tool, I use this option is I was facing some issues from time and time and with this I haven't had any error so far, so I think I'll use at least until 2.0 gets improved. About options out there, 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

View solution in original post

4 REPLIES 4
CoderZen08
Helper IV
Helper IV

Hi @dreamerz Seems like the 2.0 beta connector is still presenting some issues. As a workaround, maybe you can try to test your connection with a 3rd party tool, I use this option is I was facing some issues from time and time and with this I haven't had any error so far, so I think I'll use at least until 2.0 gets improved. About options out there, 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

Thank you, I agree I rebuilt my report and used only one dimension and metric from the Google Analytics 2.0 connector and it still timed out and wouldn't work compared to both Windsor and Looker Studio which worked, with no issues whatsover! So it must be something to do with the Connector rather than Windows 11?? PS I went back to Looker Studio as opposed to Windsor.ai because though it was good it was limited in the free version whereas Looker is free and you can pull in as much data as you want up to the GA4 quota limits 🙂

dreamerz
Regular Visitor

Thank you for the reply - it is a valid point however, GA4 API quota is definitely not reached within the report i've built. I tested with a blank report, 1 dimension and 1 metric and still the same error occurs. 

 

An update to the error: 

> When in Windows 10, the same report does not have any issues with refreshing the data.

> As for Windows 11, PowerBi Desktop was uninstalled and reinstalled - same errors appeared. 

> Error consistently serves a 400 JSON error when refreshing the data. When I jump into data transform, remove the date filter, the tables then show all the latest data as if it has successfully refreshed but as soon as I select 'close and apply', the load takes a while and then serves a googleanlaytics timed out error. 

v-jingzhan-msft
Community Support
Community Support

Hi @dreamerz 

 

The timed out error may be caused by hitting some resource limit or query limit at the Google Analytics side. It probably doesn't have enough time to complete the query. Please check if it's related to any limits listed in the following documentation:

Power Query Google Analytics connector - Power Query | Microsoft Learn

Limits and Quotas on API Requests  |  Analytics Management API  |  Google for Developers

 

Best Regards,
Jing

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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