SAP Knowledge Base Article - Public

3401995 - Upserting Job Req via ODATA getting Error about Invalid locale

Symptom

Updating a Requisition via ODATA adding in payloads the prescreening question an error like this appears:
java.lang.Exception: java.lang.Exception: Invalid locale fr_FR for JobRequisition for Key JobRequisition/jobReqId=##### with the index 0

Environment

SAP SuccessFactors Recruiting Management

Resolution

Verify what locale has been sent for  jobReqScreeningQuestions.

The system will allow to update prescreening question only in the same locale as defaultLanguage field in case jobPostLanguage field does not contains additional languages.
Note: the same behaviour is valid also in UI

Keywords

KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting all versions