SAP Knowledge Base Article - Public

3208534 - Unable to create Job Requisition via SFAPI: Job requisition status is invalid - Recruiting Management


When attempting to create a job requisition via SFAPI via UPSERT, getting the following response:

UPSERT operation status; Job Status:{ERROR}, Message:{}
UPSERT operation FAILED; Total:1, Successful:0, Failed:1, Not Processed:0
Index:{0}, Edit Status:{NOEDIT}, Error Status:{ERROR}, Message:{Job requisition status is invalid}


SAP SuccessFactors Recruiting Management


The guid in the SFAPI payload is causing the issue as that guid already exists. Since it already exists in the system, the UPSERT tries to update that entry instead of creating a new one. That GUID refers to an existing job requisition, which is in the closed status, so it's not possible to update the status.


For creating the job requisition, to avoid this issue, it is advised to use the INSERT operation instead so that this operation would indicate what is the real root cause: that guid already exists in the system.

When using a valid guid which is not associated to another job requisition, the INSERT/creation of the job requisition is successful.


sf, api, job, requisition, sfapi, upsert, insert, operation, error, invalid, status, jobreqstatus, guid, req, id. , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem


SAP SuccessFactors Recruiting all versions