March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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.
Hi all,
Thanks for your feedback and share.
Best Regards,
Community Support Team _ Caitlyn