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, here is the message:
- boboost5 years agoRegular Visitor
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.
- boboost5 years agoRegular Visitor
Hi,
I know, here when i enter the credentials:
this is a test site for my api, see that i need to enter THREE things: username password AND databasename:
In the code I already entered the BASIC Authenication string, (so i don't understand why I even should enter credentials.)
- v-janeyg-msft5 years agoCommunity Support
boboost Is the user name and password you entered from a computer or a database?
- boboost5 years agoRegular Visitor
they are from the database, (the API needs them)
- v-janeyg-msft5 years agoCommunity Support
Hi, boboost
I may not help you due to knowledge limitations. Because it may be that there are restrictions on the use of this data source on the service. But I found some similar solutions, Hope it will help you.
Power BI: Using anonymous authentication on Web data sources with a API key in URL – Kloud Blog
Web API data source refresh issue - Page 3 - Microsoft Power BI Community
Best Regards
Janey Guo