When attempting to open an object (e.g., JOBS SAP) in the Automic Web Interface (AWI), a generic "An unexpected error occurred" message appears. The Automation Engine logs report that the object could not be indexed due to invalid XML.
Symptoms:
U00045363 Search index update: The object #### in client #### could not be indexed because it contains an invalid XML.The object contains malformed XML in the internal documentation storage (DOCU_Details-). This is typically caused by a lossy character conversion where a special character (e.g., an Ä) was converted to a literal question mark (?). If this ? appears immediately after a < bracket (e.g., <?nderungsdienst>), it is interpreted as an invalid XML tag or malformed processing instruction, causing the AWI parser to fail.
To resolve this, correct the malformed tag in the object's XML structure:
<DOCU_Details- ...> section within the CDATA block.<? that are not valid XML headers.<?nderungsdienst> to <Aenderungsdienst> or <Änderungsdienst> with proper UTF-8 encoding).