SAP Knowledge Base Article - Public

3151226 - "You are not allowed to change the candidate application status. with the index 0" when moving candidates via Integration Center/OData API - Recruiting Management

Symptom

When trying to move a candidate's status through Integration Center or OData API, the following error is displayed:

"JobApplication: UPSERTBATCH failed for the row with key: . Reason: You are not allowed to change the candidate application status. with the index 0. The row will not be processed for subsequent entities"

Environment

SAP SuccessFactors Recruiting Management

Cause

The value for appStatusSetItemId is a system status that you cannot move the candidate into, as for example: 

  • Forwarded
  • Invited To Apply

  • Auto Disqualified
  • Requisition Closed
  • Hired On Other Requisition

  • Deleted On Demand By Candidate
  • Deleted On Demand By Admin
  • Declined DPCS
  • Withdrawn By Candidate

Resolution

If the system status is non-selectable by default, like Forwarded and Auto-disqualified, then through Integration Center it won't work as well. These system statuses are linked to specific features and manual changes to these statuses are not allowed.

It will be required to revise the integration and the CSV file in order to select a selectable status. For integrations with third-party systems, consider using a custom status.

Alternative API Functions:

  • To forward a candidate to a job requisition, use the JobReqFwdCandidates API.
  • To change the candidate status from "Forwarded" to "Invited to Apply", use the Function Import "inviteToApply".

See Also

KBA 2883239 - How to update the Application Status via Integration Center/OData API - Recruiting Management

KBA 2955521 - Forwarding candidate to requisition via API - Recruiting Management

KBA 3452944 - Data Privacy Consent Statement APIs - Recruiting Management

SAP SuccessFactors API Reference Guide (OData V2):

Keywords

RCM, odata, api, error, integration, center, int, csv, status, application, candidate, Withdraw, Disqualified, Closed , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-RCM-APP , Applicants and Job Applications , Problem

Product

SAP SuccessFactors HCM Suite all versions ; SAP SuccessFactors Recruiting all versions