SAP Knowledge Base Article - Public

2493267 - Error when updating the job application of a candidate using OData API- "JobOffer/approvers: assocation OfferApproval_child_offerApprover is not registered yet for property approvers"

Symptom

When you try to update a candidate's job application using OData API, you receive an error. Example:

Request Payload:

{"__metadata":{ "uri": "JobApplication", "type": "SFOData.JobApplication" }
"jobReqId": "XXXX","candidateId":"XXXX","jobApplicationQuestionResponse":{"__metadata":{ "uri": "JobApplicationQuestionResponse", "type": "SFOData.JobApplicationQuestionResponse" },"order" : "1","answer": "1","type": "QUESTION_NUMERIC","question": "Sample question?"
}
}

Response:

{"error": {"code": "COE_GENERAL_SERVER_FAILURE","message":
{ "lang": "en-US", "value": "JobOffer/approvers: association OfferApproval_child_offerApprover is not registered yet for property approvers" }
}
}

Environment

SAP SuccessFactors Recruiting Management

Cause

Since the error relates to Offer Approval, the possible cause of the issue is a mis-configuration in the Offer details template, rather than the candidate application template. Look into the Offer Details template and check if  an operator role (approver) is missing in the <offer-approvers> section.

Resolution

The correct configuration for the <Offer-approvers> section in the Offer Details template is as follows:

<offer-approvers editable="true" reorder="true">
<offerApprovalStep id="recruiterApproval" editable="true" editInvalidUser="true">
<default-user type="role"><![CDATA[R]]></default-user>
</offerApprovalStep>
</offer-approvers>

If there is no user role defined to approve the offer OR there is some syntax error in this section, the system will not be able to find the user to whom the offers should get routed for approval. In that case the above error will be thrown. Hence edit your Offer Details according to the code snippet provided above.

Keywords

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

Product

SAP SuccessFactors Recruiting all versions