SAP Knowledge Base Article - Public

3106391 - Validation Error: The ID cannot contain leading or trailing spaces

Symptom

The admin is trying to create a Content Object in Learning and they are receiving the following error:

Validation Error

You must correct the following error(s) before proceeding:

  • The ID cannot contain leading or trailing spaces: (XXXX )

"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

Create/Edit a Content Object with leading or trailing spaces:

  1. Go to the Learning Administration >
  2. Content > Content Objects >
  3. Create / Edit the Content Object >
  4. Set a name with a leading or trailing spaces on Content Object ID >
  5. Receive the Validation Error.

Cause

This is an expected behavior.

Resolution

  • System will not allow creation of content object ID that has leading or trailing space.
  • Should admin needs to delete/deactivate the content object ID, kindly refer to Professional Services team for out of the box solution for this.

Keywords

content, object, validation error, edit, leading, space, trailing , KBA , LOD-SF-LMS-CNT , Content , LOD-SF-LMS , Learning Management System , Problem

Product

SAP SuccessFactors Learning all versions