Forum Discussion
Re: Query contains unsupported function. Function name: Web.Contents for web API
- Anonymous6 years ago
Check out the “Faking Out” Web.Contents discussion regarding to using Relative path and Query options.
http://blog.datainspirations.com/2018/02/17/dynamic-web-contents-and-power-bi-refresh-errors/
You could also create a support ticket here.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the “Faking Out” Web.Contents discussion regarding to using Relative path and Query options.
http://blog.datainspirations.com/2018/02/17/dynamic-web-contents-and-power-bi-refresh-errors/
You could also create a support ticket here.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- jesus_heredero16 years agoFrequent Visitor
Thank you , It works
I add a complete URL with the path complete and then work
URL_jenkins_2 = URL_jenkins_1 & "/bat/view/Deploy-XLD/job/Deploy-XLD-OSB12-EPI/api/json?pretty=true",
contents = Web.Contents(URL_jenkins_2, [ Headers=[Accept="application/json;odata=nometadata"] , Query = [pretty="true"]]),