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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Michieldo
Helper III
Helper III

Unexpected XML declaration OData feed

Hi all,

 

I'm currently struggling with the following error :

DataSource.Error: We couldn't parse OData response result. Error: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 1, position 1398598

 

It looks like the problem is white space in certain columns, however I trimmed all text columns which didn't solve the problem. I also read a similar thread here with the proposed solution of clearing the cache. This didn't help either.

 

Has someone had a similar problem and found the solution? 🙂

 

Thanks in advance!

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @Michieldo ,


Could you tell me if your problem has been solved?
If it is, kindly Accept it as the solution. More people will benefit from it.
Or you are still confused about it, please provide me with more details about your problem.


Best Regards,
Stephen Tao

v-stephen-msft
Community Support
Community Support

Hi @Michieldo ,

 

Sorry for my late reply.

 

I found this article which may help you:

 

https://en.it1352.com/article/059cf8b5efd744e68a1a23f65e5530a3.html

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Stephen,

 

I eventually changed it in the source data. Since the solution in the link you shared was not the most straight forward, I looked for other solutions. Therefore, I'm not sure if I can already accept your solution. Perhaps if someone else tries it and shares his or her result below we can.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors