Symptom
When creating items using the Item Connector, the file is rejected with the error message: “Cannot specify a NULL key value for referenced entity.”
The referenced entity is not defined in the instance because this field is not used. How can the Item Connector be configured to accept the template file without requiring these values to be populated?
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Fill out Item Connector template >
- Leave any referenced field empty >
- Import the file >
- When the connector runs, error "Cannot specify a NULL key value for referenced entity" is displayed.
Cause
- The file contains a header column for a referenced field even though it is not used. Because the column is referenced, the system interprets it as requiring a value to be imported.
- The connector.input.file.columnDelimiter configured in the system does not match the delimiter used in the incoming feed file.
Resolution
- When a referenced field is not in use and no value should be provided, the corresponding column must be removed from the file, including the header row.
- Verify the delimiter used in the feed file and update connector.input.file.columnDelimiter in System Configuration > Connectors to match it (or vice versa).
See Also
Keywords
Cannot, specify, a, NULL, key, value, for, referenced, entity, item, connector, import, error, empty, blank, column , KBA , LOD-SF-LMS-CON , Connectors , Problem
Product
SAP SuccessFactors Learning all versions
SAP Knowledge Base Article - Public