How to resolve MIME type issue after adding the extension under glide.attachment.extensions property?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2018 03:17 AM
I have recently added the file extensions (cbl, cob, wsdl, ccp, cpy, raml) under glide.attachment.extensions property to enable user add those files in the ServiceNow as a valid attachment. However, after adding them the file extensions cbl, cob, wsdl can be attached but ccp, cpy, raml cannot be attached and getting following error
File type not permitted or mime type does not match the file content
I tried to add them under "glide.security.mime_type.aliasset" property using the existing entries in it but it did not help and possibly the entries used is not applicable to the new file extensions.
Please help to resolve the error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2018 05:47 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2018 02:51 PM
Was the problem with the spaces between you extensions? There should be no spaces. Example (cbl,cob,wsdl,ccp,cpy,raml)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 12:56 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2022 07:47 AM
This post was helpful and it solved an issue that I had with a new file extension being uploaded. The extension was added but I still got the error message and this post solved it.
However, disabling this property is not recommended by ServiceNow, and I found this KB-article to solve the issue and still having mime types enabled.
Therefore I would strongly suggest adding the mime types as described in this post since disabling this property will effect the hardening of your instance.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0820753
Kind regards