Symptom
You are doing UPSERT on USER API entity via API Client (e.g. SAP CPI, Dell Boomi etc.). You are getting below mentioned error inconsistently:
Exception caught when saving user XXXXXXX: Wrapped Exception
Environment
SAP SuccessFactors HXM Suite ODATA API
Reproducing the Issue
Run multiple UPSERT Requests on USER ODATA API.
Cause
Mostly this issue occurs due to DB Transaction Rollback. Transaction rollback prevents data loss due to concurrent update from another thread.
Resolution
From an integration resilience best practice perspective, API client should implement a retry mechanism. Anyways, from API end, permanent fix has been given along with b2005 Release. So, your scenarios should run fine after b2005 release. If you still get the same issue with USER API UPSERT, please raise a Support Ticket under LOD-SF-INT. SAP Support Team would check further and assist you accordingly.
Keywords
Wrapped Exception, USER API, USER Entity, ODATA UPSERT, DB Transaction Rollback , KBA , LOD-SF-INT-API , API & Adhoc API Framework , Problem