SAP Knowledge Base Article - Public

3124417 - Error when upserting Attachment via Odata "Attachment module is required" - Recruiting Management

Symptom

When executing an upsert on an attachment field, either via OData or Integration Center, the system is returning an error with the following message:

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

  1. Attempt to upsert an attachment into an attachment field from the Recruiting module;
  2. Receive the error.

Cause

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.

Resolution

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:


Keywords

odata, integration, center, api, attachment, upload, upsert, insert, module, attachment, required , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem

Product

SAP SuccessFactors Recruiting all versions