Unable to Attach .sta File Type Despite Updating glide.attachment.extensions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:19 PM
Hi Community,
I'm trying to enable support for uploading .sta file attachments in our ServiceNow instance, but I'm running into an issue.
What I’ve Done So Far:
- I updated the system property glide.attachment.extensions to:
pdf,docx,xlsx,jpg,png,sta
- I verified there are no extra spaces or line breaks.
- I cleared the cache using /cache.do.
- I confirmed that glide.attachment.blocked_types is either empty or does not include sta.
- I tested uploading a .sta file to an Incident record, but I still get the error:
"sample_report.sta has a prohibited file extension."
- I also checked for any Business Rules or Client Scripts that might block file types, but didn’t find anything relevant.
Question:
Is there any other configuration or hidden restriction that could be preventing .sta files from being uploaded? Has anyone successfully enabled support for custom file types like .sta?
Any help or guidance would be greatly appreciated!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:26 PM
see if it is blocked at platform level
Upload MIME type restriction (instance security hardening)
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:40 PM
Hi @Ankur Bawiskar,
I checked the Upload MIME type restriction (instance security hardening). my PDI instance don't setup any file type restriction.
I've also deactivated the "glide.security.file.mime_type.validation" property.
But it still is not working 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:29 PM
Hi @phu2
The most likely culprit is the attachment blacklist system, which takes precedence over the extensions whitelist. Check these properties:
-
glide.security.attachment_type.use_blacklist
- If set to true, this enables the blacklist system -
glide.attachment.blacklisted.extensions
- May contain "sta" in the blocked extensions list -
glide.attachment.blacklisted.types
- Could have MIME types that match .sta files
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 08:42 PM
Hi @Maik Skoddow,
Currently, in my PDI setup:
- glide.security.attachment_type.use_blacklist: True
- glide.attachment.blacklisted.extensions: not created property
- glide.attachment.blacklisted.types: not created property
Thank you!