When executing an upsert on an attachment field, either via OData or Integration Center, the system is returning an error with the following message:
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Attempt to upsert an attachment into an attachment field from the Recruiting module;
- Receive the error.
As mentioned by the error message, the Module for the attachment is missing, which is required to be passed when upserting an attachment into a field.
As the Attachment entity is a generic entity that is shared across all SuccessFactors modules, it is necessary that when upserting the attachment to provide the module where the attachment is from.
To resolve this issue, just change your Integration or OData API request adding the module field and pass over the value "RECRUITING".
Example in OData:
odata, integration, center, api, attachment, upload, upsert, insert, module, attachment, required , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem