SAP Knowledge Base Article - Public

2951455 - EmpJob upsert failing with ServerErrorException response (HTTP responde code 500) - OData API

Symptom

  • You're upserting one or multiple EmpJob entity records and getting <code>ServerErrorException</code> as response, with status code 500;
  • If the upsert request contains multiple records, the entire request fails and no record is upserted.

Environment

  • SAP SuccessFactors HXM Suite
    • OData

Cause

One or multiple records in the request have an invalid (unexisting) 'eventReason' value, or the event reason is not mapped to any event in EC.

Resolution

Check in the request payload which EmpJob record is being passed with an invalid or incorrectly configured 'eventReason' and if necessary, correct its configuration in EC (see this page for reference).

If you need help identifying which record is causing this issue, please open a support ticket under the LOD-SF-INT-EC component referencing this KBA.

Keywords

update, job information, jobinfo, batch, entity, failed, failing, error, exception, ECT-140721, <code>ServerErrorException</code>, insert , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HXM Suite 2005