Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
FrancescaBatt
Frequent Visitor

Issue OData.Feed Power query: The feed's metadata document appears to be invalid

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

FrancescaBatt_0-1668443040243.png

 

Does anyone have any ideas on how to fix?

 

Thank you!

2 REPLIES 2
FrancescaBatt
Frequent Visitor

HI @Anonymous ,

Thank you for your answer.

 

I try to add the Implementation option in this way:

FrancescaBatt_0-1668504221996.png

But unfortunately I have still the error.

 

Thank you!

 

Anonymous
Not applicable

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.