Skip to main content
Skip table of contents

XML Root Element Missing

Question

Why is the WebServices API causing the following XML error?

InvalidOperationException: Response is not well-formed XML. ---> System.Xml.XmlException: Root element is missing

Answer

Not all methods return the XML header line.  If you are parsing the returned XML, either manually add the header line or ignore it.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.