Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Attachment fails to upload

Tim Saunders
Tera Guru

I'm having trouble uploading a PBIX (Power BI from Microsoft) document as an attachment. When I use the paper clip icon to add the attachment, the system runs continuously without giving a warning and without uploading the file. When I try using drag and drop the file appears to upload quickly but does not appear as a saved attachment and no error is given. The PBIX file isn't throwing an error and looking in the node logs does not yield a mime type that could be causing the problem. Also, disabling mime type validation did not resolve the issue. The file is only 3MB and the upload limit is 1 GB. I had a similar problem with XMLA files but that file resulted in an error that was resolved by adding a value to the glide.security.mime_type.aliasset sys property but this file isn't giving any clues as to what's wrong.

5 REPLIES 5

Todor Apostolov
Tera Contributor

Hello Tim, I was looking at the community, but couldn't find out what this property glide.security.mime_type.aliasset is used for. I assume it's like a exception list in which you add extensions for which you would want to not validate the mime type right? I tested it, but it doesn't work, so I disabled the whole mime type validation using the glide.security.file.mime_type.validation proprty.