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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Gracie
Helper II
Helper II

GoogleAnalytics Refresh Error: Request failed (401): Invalid Credentials

I refresh the GA dataset in Power BI Services. But it returned this error.  I don't know the reason. The credentials is correct.

 

error.JPG

 

Thanks for helping.

 

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Gracie,

 

The error message is quite clear. Please check your credentials as @GilbertQ suggested.

 

Best Regards!

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
GilbertQ
Super User
Super User

Hi @Gracie

 

Is your data being refreshed by a Gateway?

 

Also has it ever worked before?

 

I know for my Google Analytics I had to go into Settings, then Datasets, and then click on the Data Source Credentials, then clicked on OAuth and clicked on Sign In and put in my details for it to refresh correctly.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

@GilbertQ @v-jiascu-msft

 

It was refreshed by gateway personal model. The credential is correct and it worked fine in Power BI desktop. I am not sure if it relates to the size of dataset. My report has GA data from 1/12017 to today, which has millions data. I tried to just refresh two-day GA data, it worked well. Any idea?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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