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

SAP Knowledge Base Article - Public

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

Symptom

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’.

Reproducing the Issue

  1. Go to Data Workbench work center
  2. Select Import view
  3. Select Import 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

 Example
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: SAP_43091
- TypeCode: 10001
- AttachmentName: Report
- MimeType: application/msword
- Path: Rep_CA.doc

Name the manifest file will be manifest.csv. It is case sensitive.

  1. Go to Data Workbench work center
  2. Select Import view
  3. Select Import 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

Cause

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

Resolution

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.

Keywords

KBA , LOD-CRM-EMP , Employee , How To

Product

SAP HYBRIS C4C 1705