SAP Knowledge Base Article - Public

2507382 - Error Message: “Content-Type should be ‘multipart/mixed’” While Importing Attachments Using Data Workbench Work Center


You have a requirement to upload Attachments to respective Objects using Data Workbench work center. While importing the Attachments, you receive the Processing error:

Content-Type should be ‘multipart/mixed’


SAP Hybris CLoud for Customer

Reproducing the Issue

  1. Go to Data Workbench work center
  2. Select Import view
  3. Select the radio button for Attachments
  4. Select the respective Object
  5. Select Download Manifest File

 The data that should be entered are:

  1. External Key of the object (node) for which you are importing attachment
  2. Type Code defined for an attachment type
  3. Name of the attachment
  4. Mime Type or the media type of the attachment, say, text/html
  5. Path from the root within the archive file

If you are importing the Attachments of an Account, and the attachments are all placed in the root folder, then the manifest file will have the below details:

- CorporateAccountExternalKey: XXXXXXXXXX
- TypeCode: 10001
- AttachmentName: YYYYYYYYYYY
- MimeType: PQR/DEF

(where XXXXXXXXXX represents the External Key for the Corporate Account,
10001 represents the Type Code for an attachment type,
YYYYYYYYYYY represents the Name of the attachment,
PQR/DEF represents the MIME Type of the document,
ZZZZZZZZZZ represents the Path from root within the archive file)

Name of the manifest file is case sensitive. Name the file as manifest.csv

  1. Go to Data Workbench work center
  2. Select Import view
  3. Select the radio button for Attachments
  4. Select the respective Object
  5. Select Next
  6. Browse for the archive file
  7. Select Upload
  8. Select Next
  9. Select Import
  10. In the Monitor tab, check for the respective Task ID
  11. The records in the file have the Processing error


The update is failing as some of the MIME Types for Document Upload are incorrectly filled in the manifest file.


There are various MIME Type Codes with respect to each MIME Type. Check the activity Allowed MIME Types for Document Upload in the Overview view of Business Configuration workcenter for valid values and upload the manifest file.


Manifest, MIME Type. MIME, Muiltipart , KBA , multipart , content-type should be multipart/mixed , LOD-CRM-INT-DWB , Data Workbench , How To


SAP Cloud for Customer add-ins all versions