SAP Knowledge Base Article - Public

3050345 - "File type is not supported" error when importing learning content

Symptom

When importing content via the Import Content tool the following error is generated:

       "The file type is not supported. Choose one of the following types"

NOTE: Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Navigate to Learning Administration > Content > Import Content >
  2. Select "Add New Content" > Next >
  3. Click on Browse to select the content file you want to import into Learning, proceed with the import content wizard >
  4. The error is faced.

Cause

Incorrect configuration in the CONTENT IMPORT configuration file (System Administration > Configuration > System Configuration > CONTENT IMPORT).

Resolution

The file extension list is not properly configured in CONTENT IMPORT configuration file.

In this example, the file extensions list is  *.ppt;*.pptx,*.flv;*.mp4;*.swf instead of (;) semi colon which is the correct separator *.ppt;*.pptx;*.flv;*.mp4;*.swf

Once the learning admin adds the correct file extension the content will import as expected.

To update the file extensions supported, perform the following steps:

  1. Go to Learning Administration >
  2. System Administration > Configuration > System Configuration >
  3. Select "CONTENT IMPORT" and click to edit >
  4. Search for system configuration "supportedFileExtensions="
  5. Add the required file extensions as *.mp4 for example with extensions separated by a ; then Apply changes.

Keywords

SuccessFactors, Learning, import content, CONTENT IMPORT, file type, not supported, the file type is not supported. , KBA , LOD-SF-LMS-CNT , Content , Problem

Product

SAP SuccessFactors Learning all versions