Forum Discussion
Problem when publishing API connection (desktop works fine)
- 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.
Hi, boboost
There should be no problem with the syntax because It can be refreshed normally in the desktop. Have you added credential information?
Can you show me the screenshot of the refreh history and data source credentials in pbi service >> dateset >> setting?
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Janey,
I assume that the credentials are already in the basic authentication.
- v-janeyg-msft5 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?
- boboost5 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