ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now

Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

ERROR - Invalid document structure

8 - Asteroid



I create a workflow yesterday, it ran and save successfully, however today when I open it it displaying the following error message.


issue 1.jpg


As soon as i try to open the icon that is given me an error message, i get another message






















When i click on ok, it comes up with the following message



Just wondering how i can fix this issue as it also effecting some workflow which I have saved months ago.



Alteryx Alumni (Retired)

Hi @AndrewCrayford,


Thank you for posting!


Does the input data tool use a Gallery alias? If so, please rename file %APPDATA%\Alteryx\Engine\GalleryAlias.xml to GalleryAlias.xml (example: C:\Users\my_name\AppData\Roaming\Alteryx\Engine\GalleryAlias.xml.old) and restart Alteryx Designer.


Kind regards,


Paul Noirel

Sr Customer Support Engineer, Alteryx

8 - Asteroid

Thanks that worked


One additional point:  This can also happen on Gallery if you remove the last gallery alias.  The gallery file may be left in an invalid XML format, causing the workers referencing that file to fail with this error.  

5 - Atom

I'm getting the same error for a dynamic input tool in my macro.  My input files are of type xml. I created a blank file with type xml and dynamically replace the file with the actual xml file name.  This worked perfectly the first few times I ran the workflow but suddenly stopped working and produced the errror:Invalid document structure at LIne:2 and Column:1.  How do I get rid of this error?




bir1bv the issue you are experiencing is a little different than what is covered in this post, but I will try to help.


Since you are using these files as input, this error tells me one of the xml files you are passing through has an invalid document structure.  Can you isolate the file(s) that cause the input tool to error?  If so, I would then take those files and use an xml validator (such as to identify the cause of the invalid state.  


Also, do the files have the same general document structure?  If you send your workflow and some examples I may be able to help more thoroughly.