How to attachment .bak file when content is encryption

Le Son
Tera Contributor

We use function attachment default of Servicenow.

However, When We upload file, we get error: File type not permitted or mime type does not match the file content

We tried delete file content and upload file. We can upload this file If file content has not encryption.

So, How to attachment file when content is encryption

2 REPLIES 2

Tai Vu
Kilo Patron
Kilo Patron

Hi @Le Son 

Let's have a look on those properties in your instance.

glide.attachment.extensions

glide.security.file.mime_type.validation

 

Screenshot 2023-10-27 at 09.54.57.png

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

NOW Support KB: KB0718011 

 

Cheers,

Tai Vu

Le Son
Tera Contributor

Hi @Tai Vu 

I found that file content is encrypted. If I upload this file with content not encrypted, I can upload success.