SAP Knowledge Base Article - Public

2256194 - Import Content Tool - Failed

Symptom

  • Background Job shows 'Failed' Status.
  • Background job Error message: Unable to deploy the zip file for ***.Could not write to "sftp://***.[filetype]". Please check your settings

"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. Go to Content > Import Content >
  2. Proceed through the tool and Schedule Job >
  3. An error will be seen directly after the job runs or in the Background Jobs tool.

Cause

  • The content .zip file content contains server scripting extension such as .php, .asp, and .jsp file extensions. iContent SFTP is preventing those extensions from being imported.
  • The total length of a specific file is over 255 characters long.

Resolution

  1. Go to System Administration > Background Jobs >
  2. Search for the Title "Content Import" and access the job that failed >
  3. There will be large error that will specify the filename that needs to be updated. If the error does not provide enough information, go to System Administration > Configuration > System Configuration > Edit LMS_ADMIN > update reportStackTraceToUser=true and repeat the import >
  4. If the file is a server scripting extension, please work with the content developer to update the content >
  5. If the file is not a server scripting extension, then the file might be too long. Reference 2187183 for full SFTP guidelines. Please work with a content developer to update the file, shortening the overall name, and make sure it does not break the content >
  6. After reviewing the .zip file with your content vendor, import it again.

Note: SAP Support are not trained content developers and troubleshooting 3rd party content is outside of SAP Support scope.

Keywords

iContent, Upload course, LMS; Could not write to sftp, scheduled Job Failed, php, ContentDeploymentException, ContentDeploymentLocationBackgroundJob, FileSystemException , KBA , LOD-SF-LMS-CNT , Content , LOD-SF-LMS-BCJ , Assign (bulk), Add/ Delete Sub/ Cur, Revise, Import , LOD-SF-LMS , Learning Management System , Problem

Product

SAP SuccessFactors Learning all versions