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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.