logo

NJP

Load data / import set MIME type mismatch for file error

Import · Apr 13, 2021 · article

Behaviour:

We're working posting files using "Post CSV or Excel files directly to an import set", Appearly after upgrade to Paris this integration that were posting files failed and we could identfy on system logs:

"MIME type mismatch for file: myfilename.csv.ext. Expected type:application/vnd.novadigm.ext, Actual type: text/plain"

Solution:

Open a support case to update "glide.import.file.extension_whitelist" property

Default value: csv,xls,xlsx,json,xml,zip

We updated

Default value: csv,xls,xlsx,json,xml,zip,ext

Best solution would be update our program that was upload the "ext" file but that wasn't possible.

image

summary

glide.ui.attachment.download_mime_type

mime types

View original source

https://www.servicenow.com/community/now-platform-articles/load-data-import-set-mime-type-mismatch-for-file-error/ta-p/2328436