Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Dataflow Error: An error occured while trying to fetch token for 3 resource

We have a user who has built a dataflow in the Power BI Service. Her data flow is sourcing data from Palantir Foundry, via the native Foundry connector, using the token methodology. Her dataflow refreshes succesfully on the Power BI Service, and when it's run in Power BI Desktop. However, when attempting to refresh the semantic model that uses the dataflow on the Power BI Service, and is only connected to the dataflow, it gave the following error:

 

{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS700003: Device object was not found in the tenant '1146cf6d-9b72-4828-bd04-9f1ccb305586' directory. Trace ID: 597ac296-0395-401a-96e5-4f03166ca600 Correlation ID: 349b7b7a-11e2-427b-bb06-45225b8fc51e Timestamp: 2024-04-09 15:45:28Z"}}],"exceptionCulprit":1}}} Table: Departures.

 

After we generated a new token, we get the following:

 

{"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"An error occured while trying to fetch token for 3 resource, [ccon]https://service.powerapps.com/[/ccon]"}}],"exceptionCulprit":1}}} Table: Query.

 

I've seen some people have similar experiences, and they've had to refresh their credentials. We tried that, but had no success. We also created a new dataflow, pointed the source to the new dataflow, and had the same issue.

1 Reply