SAP Knowledge Base Article - Public

3571163 - IPS user sync to Work Zone failing with status code 500

Symptom

The user sync between SF and Work Zone is failing with statusCode: 500, Response:  

Environment

SAP SuccessFactors Work Zone

Reproducing the Issue

Customer reports that their SuccessFactors to Workzone IPS user sync has stopped working recently with statusCode: 500, Response: 

(where the same user sync was working without issue before and no changes made)

Cause

The hiredate property is using an unsupported format: 

{"hiredate":"Date(1262908800000)"}
This format is not supported with the Work Zone system, and it results in a parsing error that prevents the entire user sync request from being successful.

The system throws parsing error when it meets invalid hire date.

Resolution

This was an expected change as this format was never supported. The correct format is included in the transformation code in the implementation guide.

Please advise the customers to add the following to their SuccessFactors Work Zone target transformation code

Add the following transformation rule: 
         {
             "sourcePath": "$.hireDate",
             "optional": true,
             "targetPath": "$['urn:sap:cloud:scim:schemas:extension:custom:2.0:JamWorkforcePerson']['hiredate']",
             "functions": [
                 {
                     "function": "manipulateDate",
                     "sourceDateFormat": "Date(milliseconds)",
                     "targetDateFormat": "yyyy-MM-dd'T'HH:mm:ss'Z'"
                 }
             ]
         }

This is covered and included in the guide - Help Guide

Go to Option1 > Step 4 > SAP SuccessFactors Work Zone target system transformation.

See Also

Help Guide

Keywords

Workzone user sync, IPS user sync for workzone, statusCode: 500, Response, , KBA , LOD-SF-SWZ-PRV , User Provisioning , Problem

Product

SAP SuccessFactors HCM Core 2411