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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Data source refresh error

Hi Gurus,

 

Any idea what is the below error is about?

 

Data source error: {"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","parameters":{"ConnectionDetails":"{\"kind\":\"GoogleSheets\",\"path\":\"https://docs.google.com/spreadsheets/d/1UyUw0i0S20bwheBiVAwecnJggsrWOGBzdch85d02GnQ/edit\"}","CredentialType":"OAuth2","DatasourceType":"Extension"},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"[DataSource.Error] Web.Contents failed to get contents from 'https://oauth2.googleapis.com/token' (400): Bad Request"}}],"exceptionCulprit":1}}} Table: Territories Access.
Cluster URI: WABI-WEST-US-redirect.analysis.windows.net
Activity ID: d42b419a-cd21-4d38-aa79-dba5e07a2488
Request ID: 6a3b2c2c-965f-a8f4-8c8f-02daa5ac0ea8
Time: 2023-05-24 17:12:18Z

2 REPLIES 2
mussaenda
Super User
Super User

Hi @Anonymous ,

 

Try re-entering your credentials in service,

mussaenda_0-1684988277247.png

and refresh the dataset again

 

GilbertQ
Super User
Super User

Hi @Anonymous 

 

The error apars to say that there is a 400 error that it cannot authenticate to the table "Territories Access"

 

If you can make sure that the you have the access from the right credentials.





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

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.