Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Dear members,
I have an issue when I try to use OData.Feed source instead of Web source in Power BI using token authentication.
When I use the web source the response is correct and the power query code is the following:
let
URL = "xxx"
Source = Web.Contents(URL, [Headers=[Authorization="Bearer MyToken"]])
in
Source
where URL is the endpoint and "MyToken" is the current token.
Instead when I try with OData.Feed, the sintax is the following:
let
URL = "xxx"
Source = Web.Contents(URL, [Headers=[Authorization="Bearer MyToken"]])
in
Source
and returns this error to me:
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'.
Details:
DataSourceKind=OData
DataSourcePath=xxxxxxxxx
Does anyone have any ideas on how to fix?
Thank you!
HI @Anonymous ,
Thank you for your answer.
I try to add the Implementation option in this way:
But unfortunately I have still the error.
Thank you!
Hi @FrancescaBatt ,
I found a similar thread, see if diggity's answer helps you.
OData: The feed's metadata document appears to be invalid
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
9 | |
8 | |
7 | |
7 |