Issue Uploading Large ZIP File in Incident Form – MIME Type and Size Limit Error

Sirri
Tera Guru

Hi All,

I'm encountering an issue while trying to upload a ZIP file (size: 1.26 GB) to the Incident form in our ServiceNow instance.

When I attempt the upload, I receive the following popup error:

"The MIME type, file extension, or file type could be invalid or unsupported. Please contact your administrator for assistance."

After clicking "OK", I also see:

"Attachment size exceeds the limit of 1,024MB."

To address this, I have already updated the following system properties:

  1. com.glide.attachment.max_size → 2047
  2. glide.attachment.extensions →
    xls,xlsx,doc,docx,pdf,jpg,png,bmp,csv,txt,msg,jpeg,gif,log,keystore,zip,cert,jks,ppt,pem,mp4,mp3,xml,mib,VBS,vbs,eml,html,csr,iso

Despite these changes, the error persists. Has anyone faced a similar issue or know if there are additional configurations (ACLs, MIME type validation, etc.) that need to be adjusted?

 

Any guidance would be appreciated!

7 REPLIES 7

Rafael Batistot
Kilo Patron

Hi @Sirri 


You can disable this security upload-stop feature by editing the system property 'glide.security.file.mime_type.validation' and setting its Value to 'false'.


https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0998558

 

 

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.

@Rafael Batistot 

 

Thank you for your response.

I have update this property "glide.security.file.mime_type.validation" to false.

Still I'm getting same error " The MIME type, file extension, or file type could be invalid or unsupported. Please contact your administrator for assistance." as popup once I click on ok I'm getting this Info message "Attachment size exceeds the limit of 1,024MB"  Please check below snips for your reference.

Sirri_0-1760189760770.png

Sirri_1-1760189813674.png

 

 

Simon Hendery
Giga Patron
Giga Patron

Is there a business case for allowing this? On the face of it you seem to be opening the door to security and performance issues, plus ServiceNow charges a lot extra for storage after you hit 4TB, from memory. 

@Simon Hendery 

 

There is no business case Just I'm trying in my PDI.

 

Thank you