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
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

Share with Power BI Enthusiasts: 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

Share with Power BI Enthusiasts: 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
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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.