Forum Discussion
Issue when scheduling refresh using postman rest api public key
Hi,
I just loaded a data in power bi dsktop using postman rest api as below in blank query
actualUrl = "http://*******************?",
options = [Headers =[#"Content-type"="application/json",
#"Authorization"="***************"]],
result = Web.Contents(actualUrl, options)
In desktop, data loaded properly in anonymous connection. But in service it's showing Failed to update data source credentials. Why anonymous connection it's not working in service?
Can you please help me to resolve this
Thanks,
Krithika
Hi Anonymous ,
Would you please try to select the "skip test connection" option? For more details, please refer to https://kohera.be/blog/power-bi/the-hidden-gems-of-the-function-web-contents/
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
9 Replies
- ibarrauSuper User
Hi. Sometimes Power Bi Service needs more detail about the url. It needs to understand which part of the URL means what. That is why it is a good practise to split in the correct parameteres. Check this post out showing relative path and query path:
This can help Power Bi to identify the source and credentials.
Hope this helps,
- AnonymousNot applicable
Eventhough it is not working. Data can be pulled in desktop and still in service can't able to refresh. It's showing refresh error as failed to update data source crendentials. since it's public key doesn't have credentials
- ibarrauSuper User
Can you show the complete error message? In addition, please be sure to have the credentials configurated in the schedule refresh options like this:
You can specify anonymous and sign in without anything else. This is an example of a dataset I have connected exactly like you.
Regards,