File type not permitted or mime type does not match the file content error

Mark_Bailey
Mega Guru

I have a user reporting an issue with attachment since we upgraded to Paris. 

He is getting the error:  File type not permitted or mime type does not match the file content

The attachment is an allowed extension (Msg) but the message he saved has pdf attachments. 

I am wondering if the imbedded pdf on the msg file would cause the mime mismatch and if so why would this have worked pre paris?

1 ACCEPTED SOLUTION

I did have the glide.security.file.mime_type.validation system property set to true, but I didn't have any values in the system property glide.attachment.extensions, so it wasn't checking for MIME type.  I added msg to glide.attachment.extensions, then successfully uploaded the msg with pdf attachments again.  

View solution in original post

8 REPLIES 8

Sai Kumar B
Mega Sage
Mega Sage

Hi @Mark.Bailey 

This article from servicenow will help you https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0718011

Please mark my answer as helpful/correct, if applicable.

Best regards,

Sai Kumar


Thank you I read that article before I posted. 

It does not answer my question.

 

Brad Bowman
Kilo Patron
Kilo Patron

Sorry this doesn't help much, but I was able to save an Outlook email with 2 PDF attachments as a msg file and successfully attach it to a service request in my Paris PDI - patch1-hotfix3.

Thanks Brad, I am not able to do the same, so it's good to know you can. Must be something instance related, I'll keep looking. Can you see if under system security you have the MIME options checked?