SAP Knowledge Base Article - Public

2683044 - Incorrect Element Format in Input Data XML - Onboarding


An error is received when passing the data from 3rd party ATS to SAP SuccessFactors Onboarding via API call.

Sample error message:

  • <PostNewhireRecordResult><NewhireId>00000000-0000-0000-0000-000000000000</NewhireId><Errors><Error><ErrorCode>101</ErrorCode><ErrorDescription>Input XML does not match XSD. 'xpresshr' is an undeclared prefix. Line 60, position 2.</ErrorDescription></Error></Errors></PostNewhireRecordResult>


SAP SuccessFactors Onboarding All Versions


  • Input Data XML is using the wrong address in header information like in this example:

         <NewHire xmlns:xsi="" xmlns:xsd="" xmlns="">

  • Input Data XML under element "UserArea" uses a custom format that is causing the error. See example of incorrect XML Code Snippet below.

        Sample XML Code Snippet:

           <xxx:CustomField name="DummyONBKey01" value="DummyValue" />
           <xxx:CustomField name="DummyONBKey02" value="DummyValue" />
           <xxx:CustomField name="DummyONBKey03" value="DummyValue" />


  • The SF Onboarding application requires data to be post in the specific format.
  • Use only the standard format to avoid errors.
  • There are other causes on why fields are having an error when sending it to Onboarding.


In the header element, the correct for address is:

Sample XML Code Snippet:

  • In the UserArea element section, the custom element start tag to be use is "xpresshr:CustomField".

Sample XML Code Snippet:

<!-- Custom Fields -->
<xpresshr:CustomField name="DummyONBKey01" value="DummyValue"/>
<xpresshr:CustomField name="DummyONBKey02" value="DummyValue"/>
<xpresshr:CustomField name="DummyONBKey03" value="DummyValue"/>
<xpresshr:CustomField name="DummyONBKey04" value="DummyValue"/>
<xpresshr:CustomField name="DummyONBKey05" value="DummyValue"/>


  • All the custom elements "xpresshr:CustomField" are represented by the attributes "name" and "value" in the element "UserArea" as illustrated in the XML snippet above.
  • SAP SuccessFactors Cloud Product Support does not rectify this kind of issues as this is controlled by a third-party system. If you are a customer, please reach-out to SAP Professional Services or Implementation Partners/Consultants, if you do not have kindly refer to KBA 2279979.

See Also


ATS; 3rd Party Integration; API Call error;  , KBA , LOD-SF-OBD , Onboarding , LOD-SF-OBD-API , Webservices & API's , Problem


SAP SuccessFactors Onboarding all versions