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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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