SAP Knowledge Base Article - Public

2912300 - Error creating Job Requisition via ODATA API: [COE0019]INSERTED with the index 0 - Recruiting Management

Symptom

When trying to create a job requisition via OData API, an error is returning: [COE0019]INSERTED with the index 0.

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

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

The "User Login" permission is not granted to the API user.

Resolution

It will be required to modify the API user's roles to ensure that the User Login permission is given and assigned to the user.

Keywords

ODATA, [COE0019]INSERTED with the index 0, api, insert, upsert, requisition, job, req, template, create. , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting all versions

Attachments

Pasted image.png