Forum Discussion
Anonymous
6 years agoNot applicable
Unsupported Refresh on Web.Contents
I saw some postings on this similar error but I don't understand how to write the MQuery for api that I have set up in my reports. Can someone help me with the appropriate MQuery to be able to do a ...
- Anonymous6 years ago
I was able to import and also get the Gateway refresh to work now. I had to split it up this way:
= Json.Document(
Web.Contents("https://name.com:port",
[
RelativePath="/api/viewContents/projects/v1/PowerBiProjects?projectId=-1"
])
)
Anonymous
6 years agoNot applicable
His format would not work - my import fails.
ibarrau
6 years agoSuper User
The format I have sent is the best practise. I might have some mistake somewhere. Try "-1" with double quotes in the parameter.
Regards,
- Anonymous6 years agoNot applicable
I was able to import and also get the Gateway refresh to work now. I had to split it up this way:
= Json.Document(
Web.Contents("https://name.com:port",
[
RelativePath="/api/viewContents/projects/v1/PowerBiProjects?projectId=-1"
])
)