Error "Start tag expected, '<' not found" while exporting entities in ThingWorx
Applies To
- ThingWorx Platform 5.4 to 9.5
Description
- Unable to export entities in XML format after installation or upgrade of ThingWorx
- Not able to export a single entity
- Export fails for project or tagged entities
- Following error messages received in the browser when trying to export all entities:
This page contains the following errors: error on line 1 at column 1: Document is empty This site can’t be reached The webpage at https://<ThingWorxServer>/Thingworx/Exporter?repositoryName=&includeDependents=false&Accept=application/octet-stream&; might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE error on line 1 at column 1: Start tag expected, '<' not found
- Error in ThingworxStorage\logs\ApplicationLog.log is:
[L: WARN] [O: IntrusionDetector] [I: ] [Userl] [S: ] [T: https-jsse-nio-8443-exec-1212] [SECURITY FAILURE Anonymous:null@unknown -> /ExampleApplication/IntrusionDetector] Invalid input: context=setHeader, type(HTTPHeaderValue)=^[a-zA-Z0-9()\-=\*\.\?;,+\/:&_ ]*$, input=attachment; filename="Test.xml"; filename*=UTF-8' 'est.xml [L: ERROR] [O: c.t.w.Exporter] [I: ] [U: User] [S: ] [T: https-jsse-nio-8443-exec-1212] [message: setHeader: Invalid input. Please conform to regex ^[a-zA-Z0-9()\-=\*\.\?;,+\/:&_ ]*$ with a maximum length of 2000]
- Exporting an entity to binary works but creates a file without the appropriate extension therefore trying to import this file will fail;
Unable to read thing [Thing Name]: null Unable to Export Database: null