Symptom
When trying to create an offer approval via OData API, it shows an error [COE0019]Unexpected error occurred: argument type mismatch with the index 0.
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Create an offer approval via OData API
- Error received:
{
"error": {
"code": "COE_GENERAL_SERVER_FAILURE",
"message": {
"lang": "en-US",
"value": "[COE0019]Unexpected error occurred: argument type mismatch with the index 0"
}
}
}
Cause
Field type mismatch between the offer detail field and the source job requisition/job application field.
Resolution
Please review the field type of derived offer detail fields. The field type should match with the source job requisition/job application field.
To check from provisioning (Implementation Partner/Support only):
- Provisioning > Import/Update/Export Offer Detail Template
- Click "Validate against other Templates" and check the result
See Also
KB article 2622432 - How to create an Offer approval via OData API? - Recruiting Management
Keywords
OData API, JobOffer, offer detail, offer approval, error, unable to create offer approval, [COE0019]Unexpected error occurred: argument type mismatch with the index 0 , KBA , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-RCM-CAO , Candidate Offers, Offer Letters , Problem