Forum Discussion
Your data source can't be refreshed because the credentials are invalid
Hello, I am getting the following error whenever i try to refresh a dataset or schedule a dataset refresh in PBI Service:
"Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."
In PBI Desktop it works correctly, I am acessing a Restful Api with a bearer token validation. The login resquest is sent to url/Login with 4 params in the header and then i recieve the token which i pass to 2 other api calls. In Power Bi Service I get the error mention above and whenever i click the prompt to edit the credentials I can only input an user and password and not the header values needed to authorize me into the api. Is there an workaround for this? I need to schedule refreshes for this dataset in PBI Service.
2 Replies
- v-lili6-msft
Community Support
hi, Anonymous
If the gateway set up well, and is there any other data source in the report which requires gateway?
Best Regards,
Lin
- AnonymousNot applicable
I am not using any gateway. I make 3 calls to the Restful Api and 1 to a news feed. The news feed works fine because doesn't need authentication but the Rest Api doesn't work because I cannot send the header data for the authentication in PBI Service.