SAP Knowledge Base Article - Public

3109544 - [Onboarding] Unable to fetch form data error for I-9 section 2

Symptom

Getting an error message when user responsible for completing I-9 Section 2 and Section 3 attempts to access I9 Section 2 task for a candidate. The task is available to the user but following error appears when trying to load the task-

"Unable to Fetch Form Data"

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Proxy as the responsible user to whom the I-9 Section 2 is assigned
  2. Start the I-9 Section 2 task for any of the candidate in the Complete Section 2 and Section 3 of form I-9 Tile
  3. The task loads and following error message pops-up- "Unable to fetch form data".


Cause

The visibility of defaultLocation field which is a required field for Business Address in I-9 Section 2 is set to Not Visible.

Resolution

You can check the exact field which is causing the error by following the below steps(If you are not able to follow the same kindly create a support ticket for the Support Engineers to get the logs)-

  • Replicate the issue and check the error in console using the Developer Tool.
  • Similar error as following will appear- 
    "error" : {
    "code" : "ServerErrorException", "message" : {
    "lang" : "en-US", "value" : [COE0021]Invalid property names: FOCompany/defaultLocationNav. Please check the property name in Admin Center > OData API Data Dictionary or entity metadata. Ensure there were no data model changes that removed this field, and please execute a refresh metadata to ensure the cache is not corrupted."
    }
    }
  • The Property name would be missing for the respective entity in OData API Data Dictionary. In the above case defaultLocationNav was missing for FOCompany.

To make this field available you need to make the visibility of defaultLocation field in Legal Entity object as Editable. Follow the below steps to do the same-

  1. Navigate to Configure Object Definition
  2. Select Legal Entity Object Definition
  3. Search for field defaultLocation and check its Visibility. It would be not Visible.
  4. Change the visibility to Editable and the issue will be resolved.


Keywords

Unable to Fetch Form Data, I-9 Section 2 form, Responsible User, defaultLocation, legal Entity , KBA , LOD-SF-OBX-EVF , Compliance 2.0 for i9 and everify , Problem

Product

SAP SuccessFactors Onboarding 2105 ; SAP SuccessFactors Onboarding 2111