Forum Discussion

Gracie's avatar
Gracie
Helper II
8 years ago

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.

 

 

Thanks for helping.

 

3 Replies

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

    • Gracie's avatar
      Gracie
      Helper II

      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?