I was trying to get data from a vendor's REST API from Power BI.
When getting data, under Web API, it keeps throwing this error. See attached screenshot.
It is a POST method where you can filter by any field in the response body (yet I'm not passing any this time).
The query I am using to get a response is as below. Sorry I forgot where I found it.
let
apiUrl = "my_api_url",
token="my_api_key",
options = [Headers=[Authorization="Bearer " & token ]],
result = Json.Document(Web.Contents(apiUrl , options))
in
#"result"