Symptom
When inserting candidates into a Job Requisition using API, the execution returns an error: "[COE0019]Override not allowed for Candidate ID = xxx and Job Requisition ID = xxx with the index 0"
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Run an integration to add a candidate as an applicant to a Job Requisition;
- Notice that the error happens.
Cause
- Cause 1: The candidate (Candidate ID)'s job application already exists for this Job Requisition (Job Requisition ID).
- Cause 2: This is caused by a retry on the same operation or an unfinished operation that is still running for the same Candidate ID and on the same Job Requisition ID.
Resolution
For Cause 1:
In Recruiting Management, we cannot have the same Candidate ID applying more than one time to the same Job Requisition ID. This is as per system design, and to not allow that to happen through APIs as well, this constraint was added.
For Cause 2:
The specific problem is due to a retry on the same operation. The initial operation was sent to add the Candidate ID to the Job Requisition ID. After timing out, the same operation was sent again.
On the SuccessFactors side, the system knows that this operation already exists. However, the timeout threshold was reached on the requesting application before receiving a response from SuccessFactors, so the operation was sent again.
We advise to never retry operations like this, as this will end up on an error. In case that you would like to keep the time out, then extend the time out period to more than 15 seconds, as sometimes when sending files for the Resumes or Cover Letters, SuccessFactors will be sending those files to the attachments servers, which can take a while to provide a confirmation back.
OBS: Please keep in mind that depending on the size of the file, these operations might take even more to complete.
Keywords
Job, requisition, application, insert, candidate, id, override, not, allowed, for, with, index, 0, API, integration, time, out, seconds, ChangeSet index 1 , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem