Forum Discussion

adavid999's avatar
adavid999
Helper V
6 years ago

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

  • az38's avatar
    az38
    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