Attachment Upload Fails When the File Name Contains Multiple DotsIssue When uploading an attachment whose file name contains multiple dots before the file extension, the upload may fail with the following error: “The MIME type, file extension, or file type could be invalid or unsupported. Please contact your administrator for assistance.” For example, uploading this.is.a.test.file.txt may fail, while uploading the same file after renaming it to thisisatestfile.txt succeeds. This behavior may be related to secure file name validation configured on the instance. Symptoms Uploading an attachment with multiple dots in its file name fails with a MIME type, file extension, or file type validation error.Renaming the file to remove additional dots may allow the upload to succeed.The issue may affect attachments uploaded through the user interface or programmatically, depending on the upload mechanism. Release All Cause The system property glide.attachment.enable_secure_filename_validation controls secure file name validation. When this property is enabled, the instance applies additional validation to attachment file names and their associated file types. Depending on the file name and validation rules, an upload may be rejected even when the file's extension appears valid. If the issue occurs specifically with file names containing multiple dots, investigate whether secure file name validation is contributing to the failure. Resolution 1. Verify the system property Navigate to sys_properties.list.Search for the property glide.attachment.enable_secure_filename_validation.Check whether the property is set to true. 2. Rename the file and retry the upload As an initial workaround, rename the file to use a simpler name with a single dot separating the base name from the extension. For example: Original: this.is.a.test.file.txtSuggested: thisisatestfile.txtAlternative: this_is_a_test_file.txt Retry the upload and verify whether it succeeds. 3. Investigate programmatic uploads If the issue occurs when attachments are generated or uploaded through integrations, scripts, scoped applications, or APIs, review how the file names are constructed. Update the relevant implementation to generate file names that comply with the instance's validation requirements. 4. Review the property configuration If renaming the file does not resolve the issue, investigate other potential causes, including: Whether the file extension is supported.Whether the detected MIME type matches the file's actual content and extension.Whether the file type is permitted by the instance's attachment security configuration.Whether the upload mechanism applies additional validation. It is strongly recommended to not disable secure filename validation solely to work around this issue without first assessing the associated security implications. Any proposed configuration change should be validated in a sub-production instance and reviewed against the organization's security requirements before being applied to production. Related Links https://www.servicenow.com/docs/r/platform-security/instance-security-hardening-settings/sc-validate-mime-type-for-multi.html