Symptom
You may encounter the following error while running the connector :
com.plateausystems.connector.api.ConnectorException: Error while reading content of file :content_module_data.txt. Unescaped quote detected at line - <line number highlighted in error >
.......
Caused by: java.io.IOException: Unescaped quote detected at line - <line number highlighted in error>.
Last successfully processed line number - <line number highlighted in error>
Environment
SAP SuccessFactors Learning
Cause
The input file contains a single or double escape character that does not enclose the value.
Resolution
Kindly verify the data in the input file and ensure that the data is correctly enclosed with the escape character configured in System Administration->Configuration-> System Configuration-> CONNECTORS > connector.input.file.escapeChar=
- If the configuration connector.input.file.escapeChar= is set with double quote (") which is a system's default, it can cause the data containing single quotes in the input file to be updated.
- If the configuration connector.input.file.escapeChar= is set with single quote ('), it can cause the data containing double quotes in the input file to be updated.
Note : Changing this configuration carries at own risk, and should be tested with all current existing connectors that are being used or plan to be used. Changing this value affects all connectors except for the SF User Connector. If needed, please collaborate with a Partner.
See Also
Keywords
Unescaped quote detected, Error while reading content of file, Escape character, Connector, content objects, error, escape quote does not recognize, content objects not being updated with quote, item connector. , KBA , LOD-SF-LMS-CON , Connectors , Problem