Symptom
When importing Open Content Network (OCN) courses from OCN vendor, the import fails with the error "AddContentModule(vo): Could not add contentModule for content object id XXX"
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Go to Learning admin >
- Open Content > Open Content Network >
- Select the provider desired and filter by “Not Imported” >
- Select any record to import. >
- Observe the import error.
Cause
A content object with the same ID (APP_ID) already exists in the Learning database, causing a unique key violation on PA_CBT_APPLICATION (PK_CBT_APPLICATION) during import.
Resolution
- Go to Learning administration side >
- Content > Content Objects >
- Search for the content object ID referenced in the error message (the ID shown after “content object id …”) >
- If that ID already exists and it is not the intended item to keep, delete the existing content object ID >
- Return to Content > Open Content Network > Import the course again >
- The import was successful.
Keywords
SuccessFactors, Learning, Open Content Network, OCN, import error, Could not add contentModule, Content Object ID. , KBA , LOD-SF-LMS-OCN , Open Content Network , Problem
Product
SAP SuccessFactors Learning all versions
SAP Knowledge Base Article - Public