Symptom
- Receiving 500 Internal Server Error when trying to delete candidate resumes / cover letters using OData API.
- [COE0019]Delete Attachment error. Failed to delete attachment, status=null
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Try to run DELETE request for a resume using the Attachment entity.
- An error is received: [COE0019]Delete Attachment error. Failed to delete attachment, status=null
Cause
This is not supported.
Once a resume or cover letter has been viewed, a preview image is created for the Inline Resume Viewer feature. This creates dependencies in other data tables, which prevents it from being deleted through API.
(For SAP Support: see internal memo for details)
Resolution
To delete the resume or cover letter, log in to the user interface (career site or candidate search in Recruiting) and delete it from there.
Note:
- It is not recommended to delete Recruiting attachments through OData API as this can cause data inconsistencies in the system. For more information, refer to the KBA 2751441 - Deletion of attachments via OData API.
- If this functionality is important for your business, we recommend submitting it as an enhancement idea to the Customer Influence page. For more information, refer to the KBA 2090228 - How to submit enhancement ideas for SAP SuccessFactors Products.
See Also
Keywords
RCM, COE_GENERAL_SERVER_FAILURE, COE0019, OData API, Delete, Attachment, Error 500, Internal Server Error, Resume, Cover Letter, Candidate , KBA , LOD-SF-RCM-API , Webservices & APIs , LOD-SF-RCM-CAN , General Candidate Issues (not Offers, not Profiles) , Problem