SAP Knowledge Base Article - Public

2545059 - SuccessFactors SFAPI Domain Error! - INVALID_FIELD_NAME

Symptom

While trying to run some SuccessFactors SFAPI integration process we received the error code = INVALID_FIELD_NAME , example below:

01.PNG

<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

  1. Access your SuccessFactors system
  2. Admin Center > SFAPI Audit logs
  3. Find the respective SOAP log that generate this error message
  4. Open this log and observe the REQUEST and RESPONSE.
  5. In the REQUEST, you will see the query, example:
    1. 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
  6. Open the Admin Center > SFAPI Data Dictionary
  7. Try to find the entity name (in this example, JobApplication$581) and also the field (in this example, aapp_talentwisestatus) in your SF instance.
  8. 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
, KBA , LOD-SF-RCM , Recruiting Management , LOD-SF-RCM-API , Webservices & APIs , How To

Product

SAP SuccessFactors HCM Suite all versions