Error: Attachment refused because file type not allowed or type does not match file contents

Anil9
Tera Contributor

Hi Community,

I hope you could help me out with the following issue: I would like to upload a  (.xls file type) to the system, but I get the following error message:

Attachment refused because file type not allowed or type does not match file contents.

-> My system property glide.attachment.extensions is set to blank to allow all type of extensions. But now I don't know why .xls are unable to be attached. Please help.

2 REPLIES 2

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Anil,

If it's not the file type problem, it may be a problem with file mismatch between the file content and file extension.

Can the file be opened by Excel 97? Excel file currently is in .xlsx format and not .xls. If not using Excel 97, try saving the file as xlsx and retry attaching the file.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

to which record you are adding it?

Is this happening throughout the instance or only at particular form?

check this out

Error message received when attempting to add attachment to a record on an instance

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader