Where can I find the code for Employee Center attachment error message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 10:52 AM
In the employee center when attaching a file type that is not permitted, I am getting this message..."[insert file name] failed to upload because the file type is not permitted, or the file type does not match the file content." We have a requirement to change the OOB text in this error message, however, I cannot locate the code for this message. I checked the UI page titled 'Attachment' and it was not found in it. Any idea where I should look for the code that produces this message?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 08:58 PM
Hi @Ross Drew, can you locate sys_ui_message table and search for file.mime_type.mismatch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 09:08 PM
you can search that in UI Messages table as suggested by @phgdet
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