SAP Knowledge Base Article - Public

3736591 - scheduledoffering-service/v1/Enrollments - Change in error/message handling when registering already registered users

Symptom

When attempting to register a user that is already registered in a class via the scheduledoffering-service/v1/Enrollments API, the current response from the API is:

{
  "@odata.context": "$metadata#Enrollments/$entity",
  "enrollments": [
    {
      "scheduleID": 12345,
      "studentID": "User01",
      "enrollmentStatusID": "ENROLL",
      "notifyUser": false,
      "notifyInstructor": false,
      "notifySupervisor": false,
      "notifyContacts": false,
      "comments": null,
      "errorMessage": null,
      "warningMessage": "<li>The User is already registered for the same item (ItemID123) and the threshold for registering again has not been reached.</li>",
      "warningOverride": null
    }
  ]
}

Environment

SAP SuccessFactors Learning

Cause

This is a change in behavior.

Resolution

The change for this behavior is planned to be deployed on 2H 2026 release. The API response will change from being in the warningMessage and instead will be in the errorMessage, to align with the way that the interface works. Example response after the 2H 2026 release:

{
  "@odata.context": "$metadata#Enrollments/$entity",
  "enrollments": [
    {
      "scheduleID": 12345,
      "studentID": "User01",
      "enrollmentStatusID": "ENROLL",
      "notifyUser": false,
      "notifyInstructor": false,
      "notifySupervisor": false,
      "notifyContacts": false,
      "comments": null,
      "errorMessage": "<li>The User is already registered for the same item (ItemID1234) and the threshold for registering again has not been reached.</li>",
      "warningMessage": null,
      "warningOverride": null
    }
  ]
}

For release timelines, please review SAP SuccessFactors Product Release & Road Map Information.

See Also

Keywords

KI1H2026, API, enrollment, change, warningMessage, error, behavior, LRN-202654, scheduledoffering-service
, KBA , LOD-SF-LMS-ODA , Web Services OData , LOD-SF-LMS-SCH , Class - Scheduled Offerings , Known Error

Product

SAP SuccessFactors Learning 2505 ; SAP SuccessFactors Learning 2511