SAP Knowledge Base Article - Public

3104927 - Error when trying to initiate onboarding - Onboarding

Symptom

  • Receiving an error when trying to add a new hire to onboarding.
  • Error Message: Candidate insertion failed, please try initiating onboarding again.

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Login to the instance
  2. Go to Add new hire to onboarding
  3. Fill out the candidate details
  4. Click 'Initiate onboarding'
  5. Error is received.

Cause

  • The required field 'Last Name' is missing in personalInformation element.
  • Below are the error found in console (Fn+F12):
    • "MANDATORY_FIELDS_MISSING"
    • "Values missing for mandatory keys: personalInfo.last-name"
    • Email type P is not in picklist ecEmailType

Resolution

  1. Add the Last Name field in the peronalInformation element as this is one of the required fields in Onboarding.
  2. Check Picklist ecEmailType and set external code P to active
  3. Initiate onboarding again manually
  4. The error should go away. 
  5. If the error persists, please try to check for any errors from the console by clicking 'Fn + F12' on your keyboard.

Keywords

Add new hire to Onboarding, Manual Onboarding, Initiate Onboarding Manually, Add new hire to onboarding error, error, MANDATORY_FIELDS_MISSING, Values missing for mandatory keys: personalInfo.last-name, OBX, ONB 2.0, Onboarding , KBA , LOD-SF-OBX-ADM , Admin UI , Problem

Product

SAP SuccessFactors Onboarding 2105