SAP Knowledge Base Article - Public

2912300 - Creating Job Requisition via ODATA - getting ERROR: [COE0019]INSERTED with the index 0

Symptom

Error messag trying to create a Job Requisition via ODATA Insert

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

POST .../odata/v2/JobRequisition

Request Payload:

{
"appTemplateId": "###",
"templateId": "###",
"isDraft": true
}

Response:


<?xml version="1.0" encoding="utf-8"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code>COE_GENERAL_SERVER_FAILURE</code>
<message lang="en-US">[COE0019]INSERTED with the index 0</message>
</error>

Cause

One of the possible cause could be a missing permission for the API USER.
Please verify that the permission in RBP is granted:

General User Permission > "User Login"

 Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Resolution

Grant to the role the permission

General User Permission > "User Login"

and try again

Keywords

ODATA, Create Requisition, [COE0019]INSERTED with the index 0 , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting all versions