SAP Knowledge Base Article - Public

3677367 - Error "The document you want to upload has the MIME type. Documents with this MIME type are not allowed to be uploaded according to the settings made in your solution configuration"

Symptom

When manually uploading files with the extension .heic in the attachments area of tickets, the system shows the error message:

"The document you want to upload has the MIME type . Documents with this MIME type are not allowed to be uploaded according to the settings made in your solution configuration."

However, email tickets with the same file type (.heic) are accepted without error.

Environment

SAP Cloud for Customer core applications

Reproducing the Issue

  1. Go to the Tickets work center.
  2. Open any existing ticket or create a new ticket.
  3. Attempt to manually upload a file with the extension .heic to the attachments section of the ticket.
  4. Observe the error message: "The document you want to upload has the MIME type . Documents with this MIME type are not allowed to be uploaded according to the settings made in your solution configuration."

Cause

The root cause is that the MIME type configuration for code Z02 incorrectly includes a leading dot before the file extension (e.g., .heic instead of heic). This misconfiguration causes manual uploads to reject files with the .heic extension, while email processing accepts them due to different handling of MIME types.

Resolution

To resolve the issue, update the MIME type configuration as follows:

  1. Go to the Business Configuration work center.
  2. Open the Implementation Projects view and select the current project.
  3. Choose Open Activity List.
  4. Search for and open the activity "Allowed MIME Types for Document Upload".
  5. Locate the entry with MIME type code Z02.
  6. Edit the file extension by removing the leading dot; change it from .heic to heic.
  7. Save the changes.
  8. Retry manually uploading files with the .heic extension; the upload should succeed.
  9. Confirm that email ticket creation with .heic attachments continues to work without issues.

See Also

KBA 3339860 - Upload of MIME type image/heic not permitted 

Keywords

MIME type error, file upload error, manual ticket upload, email ticket creation, .heic, MIME type configuration, attachment error, SAP Cloud for Customer, manual upload issue, email attachment failure , KBA , AP-RC-BCT , Business Config. Tools (SAP Business ByDesign , Problem

Product

SAP Cloud for Customer core applications all versions