Symptom
Username update via API is failing to update with the error message: "Failed to add/update user [the id]: General Error with error code - -28. with the index 0"
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Hire the candidate from the Manage Pending Hires screen.
- Attempt to update the username in the system for the not-yet-converted onboardee using the OData User entity.
- Observe the error: "Failed to add/update user [the id]: General Error with error code - -28. with the index 0".
Cause
The OData User API was used for a user still in external/onboarding status (not yet converted and not present in the UDF file).
Resolution
For users still in external/onboarding status, perform updates using the OData ExternalUser API instead of the User API.
Reference: ExternalUser APIs
See Also
Keywords
externaluser, user api, odata v2, onboarding, username, update, error code -28, failed to add, update user, manage pending hires, isc event, iam, udf file, onboardee, user conversion, api error, onb, obx , KBA , LOD-SF-OBX-ATS , ATS Integration , Problem
SAP Knowledge Base Article - Public