SAP Knowledge Base Article - Public

3842300 - Error "Could not add contentModule for content object id XXX" while importing OCN courses

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

  1. Go to Learning admin > 
  2. Open Content > Open Content Network >
  3. Select the provider desired and filter by “Not Imported” >
  4. Select any record to import. >
  5. 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

  1. Go to Learning administration side >
  2. Content > Content Objects >
  3. Search for the content object ID referenced in the error message (the ID shown after “content object id …”) >
  4. If that ID already exists and it is not the intended item to keep, delete the existing content object ID >
  5. Return to Content > Open Content Network > Import the course again >
  6. 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