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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors