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
- SAP SuccessFactors Product Release & Road Map Information
- SAP SuccessFactors Patches Knowledge Base
- KB Article 2171560 - How to be notified of new or updated SAP Notes or KBAs
Keywords
SAP Knowledge Base Article - Public