Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
We experience connection issues at all of our existing Desktop reports that are using OData.Feed connections.
After refresh, we got this error message:
DataSource.Error: OData: The feed's metadata document appears to be invalid. Error: A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) 'application/xml' matches the content type 'text/html'.
Sample query:
let
queryString = "DATASOURCE",
Source = OData.Feed(queryString, null, [Headers=[ #"X-API-Key" = "APIKEY" ] ] )
in
Source
We tried to trace packets, and found this, which is a possible reason of the problem.
"Using Fiddler - I can see that sometimes PowerBI will call the HTTP endpoint for the metadata under the covers. This gets a 308 response as nginx correctly redirects to the HTTPS endpoint, however it seems PowerBI doesn't handle this which is why we get that error message, as the return type of the 308 is 'text/html'. So the challenge now is to understand why PowerBI is sometimes reverting to HTTP for the metadata. "
Please advise how we can solve this.
None of our existing desktop reports is working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.