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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
adavid999
Helper V
Helper V

XML import

Hello,

 

I receive the following error message when attempting to import xml file:

 

"Unable to connect

We encountered an error while trying to connect

Details: "Xml processing failed. Either the input is invalid or it isn't supported. (Internal error: Unexpected end of file has occurred. The following elements are not closed: Data. Line 1, position 573699.)""

 

I am new to Power BI so could be something simple I am missing. I can't post the file as it contains confidential info.

 

Any help much appreciated.

 

Adam

1 REPLY 1
az38
Community Champion
Community Champion

Hi @adavid999 

so, your XML file is invalid because one (as minimum) of its element <data> has no closed tag </data>

try to fix it and reload file

 

also, you could share your file into the cloud service to fix it (if this fil doesn contain of sensible data)

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.