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
- Proxy as the responsible user to whom the I-9 Section 2 is assigned
- 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
- 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-
- Navigate to Configure Object Definition
- Select Legal Entity Object Definition
- Search for field defaultLocation and check its Visibility. It would be not Visible.
- 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 , Everify , Problem