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"
])
)
ibarrau
6 years agoSuper User
Hi, We might help you more if you show us the error and specify the api authentication. Here is the good practise for this:
Web.Contents(
"https://name.name.com:1111/api",
[
RelativePath="viewContents/projects/v1/PowerBiAllProjects",
Query=[projectId=-1]
]
)
I hope this works.
Regards,