Symptom
While trying to run some SuccessFactors SFAPI integration process we received the error code = INVALID_FIELD_NAME , example below:
<faultcode>ns2:Server</faultcode>
<faultstring>SFAPI Domain Error!</faultstring>
<ns2:errorCode>INVALID_FIELD_NAME</ns2:errorCode>
<ns2:errorMessage>Field aapp_talentwisestatus is not defined</ns2:errorMessage>
Environment
SuccessFactors SFAPI - integrations API
Reproducing the Issue
Run your integration process in your middleware like Dell Boomi or HCI and observe the error mentioned in the logs.
Cause
Missing field or entity in the SFAPI definition.
Resolution
-
Access your SuccessFactors system
- Admin Center > SFAPI Audit logs
- Find the respective SOAP log that generate this error message
- Open this log and observe the REQUEST and RESPONSE.
- In the REQUEST, you will see the query, example:
- SELECT aapp_talentwisestatus,candidateId,cellPhone,city,contactEmail,country,dateOfBirth,firstName,gender,graduationDate,id,jobReqId,jobReqTemplateId,lastName,middleName,prevContact,ssn,state,statusId,zip FROM JobApplication$581 WHERE statusid = 'Initiate Background Check/Hire' and jobreqtemplateid = 101
- Open the Admin Center > SFAPI Data Dictionary
- Try to find the entity name (in this example, JobApplication$581) and also the field (in this example, aapp_talentwisestatus) in your SF instance.
- In case you could not find the entity name or field name, this is the root cause of this issue. Please review with your integrations team your SFAPI query (REQUEST) according your "SFAPI Data Dictionary" available fields.
See Also
Find our SFAPI Developer guide and other guides in the link = https://help.sap.com/viewer/p/SAP_SUCCESSFACTORS_HCM_SUITE
Keywords
-
SFAPI Domain Error!
-
INVALID_FIELD_NAME
-
Field xxxxxx is not defined
- SuccessFactors SFAPI Boomi or HCI integrations
Product
SAP SuccessFactors HXM Suite all versions