Forum Discussion
boboost
5 years agoRegular Visitor
Problem when publishing API connection (desktop works fine)
Hi, I setup a connection with an API in Power BI desktop. This works fine, except when I publish it says that my datasource cannot be refreshed because my credentials are not correct. I think it has...
- 5 years ago
Hi thanks, I solved it by clearing the cache in the desktop version, setting the datasource to anonymous en public. I also had to set it to public on the cloud version. then it worked eventually.
v-janeyg-msft
5 years agoCommunity Support
Hi, boboost
The system prompts that your credentials are invalid. Have you tried to re-enter it? Do you need a gateway for your data source?
boboost
5 years agoRegular Visitor
The data source is just an API with basic authentication, that is already set up in the datasource advanced settings. Next to the basic authenthication as header info i need to give a database name.
I assume when i connect to an API i do not need to use the gateway.
- v-janeyg-msft5 years agoCommunity Support
Try to re-edit credentials. Can you show me the details message in error?
Best Regards
Janey Guo
- boboost5 years agoRegular Visitor
hi, here is the message:
- v-janeyg-msft5 years agoCommunity Support