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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
relliott
Frequent Visitor

GoogleAnalytics failed to get the response

Hi, 

 

I am getting an error when attempting to connect to Google Analytics with the following error message: 

 

Unable to connect

Details: "GoogleAnalytics failed to get the response: 'The underlying connection was closed: An unexpected error occurred on a send.'."

 

I have done my best to research this issue and it appears to be an issue caused by TLS changes in June 2020. However, we have followed the steps that have been recommended including the reg edits lines to force TLS 1.2, however none of these have helped. 

 

When attempting from my home computer/network, I have no issues. However when I attempt from my work computer/network, I receive the error above. Both computers are running Windows 10 and are running the latest .NET. Power BI has been updated to the latest version. 

 

I have run out of ideas on what could be causing the error and how to fix. 

 

 

 

3 REPLIES 3
amitchandak
Super User
Super User

@relliott , refer this issue, where there is some firewall issue was there

https://community.powerbi.com/t5/Desktop/Web-Query-Google-API-quot-The-underlying-connection-was-clo...

 

If needed log an issue at https://community.powerbi.com/t5/Issues/idb-p/Issues

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@relliott , Check if this same as the issue reported recently

https://community.powerbi.com/t5/Issues/Unable-to-connect-online-Google-Analytics/idi-p/1550578

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

It appears to be a different isssue. I am receiving a different error message. They also mention lower in that thread that they are hitting a quota set by the GA API. This wouldn't be the case for me because I have not set up any queries yet - I can't even establish a connection.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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