SAP Knowledge Base Article - Public

2202150 - Upsert operation to SFAPI entity User fails with an error message: Invalid SFObject! Error: Invalid date value -- of field hiredate

Symptom

  • Upsert operation to SFAPI entity User fails with an error message as shown below:

<ns2:errorCode>INVALID_REQUEST_MESSAGE</ns2:errorCode><ns2:errorMessage>Invalid request message! Error: Invalid SFObject! Error: Invalid date value -- of field hiredate at [SFObject #19,field #16]!</ns2:errorMessage></ns2:SFWebServiceFault></detail>

 

Environment

Successfactors BizX System

Cause

From the SFAPI response, we see that  error is due to the Invalid SFObject! Error: Invalid date value -- of field hiredate at [SFObject #19,field #16]!

This shows that the hiredate is invalid and the invalid SFObject is the 19th SFObject in the SOAP API request.

When you check SFAPI request, you see that the "Hiredate" is not maintained for SFObject #19 as shown below:

8-6-2015&#x20;1-27-33&#x20;AM.png

Resolution

  • Maintain the missing data for the Hire date field for 19th SFObject user.

Note:

Please make sure that all the required data is maintained in the Soap Request.This information can be found in SFAPI Data Dictionary once you expand the user entity.Here you can check which all are the required (mandatory) fields and they should be maintained.

Keywords

KBA , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM suite all versions