Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
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