What illegal characters can't be used via REST API when uploading documents, including an XML data file?


When uploading files into DocuWare using data files, please be mindful of the characters a value contains. The following characters are invalid in an XML file and must be escaped. 








If the above characters are utilized, the following error may occur; 

<s:Error Uri="" Method="POST" StatusCode="500" Status="Internal Server Error" xmlns:s=""> 

    <s:Message>There is an error in XML document (4, 19).</s:Message> 

    <s:Exception>InvalidOperationException: There is an error in XML document (4, 19).</s:Exception> 


More on this error and how to handle it can be found in 

KBA is applicable for both Cloud and On-premise Organizations.