SAP Knowledge Base Article - Public

3780404 - Username update via OData user API fails for onboardees with error code 28 - onboarding

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

  1. Hire the candidate from the Manage Pending Hires screen.
  2. Attempt to update the username in the system for the not-yet-converted onboardee using the OData User entity.
  3. 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

ExternalUser APIs

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

Product

SAP SuccessFactors Onboarding all versions