<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Error: file type not permitted or mime type does not match the file content? in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568012#M224938</link>
    <description>&lt;P&gt;Hello I am getting the following error when trying to upload an excel file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/188087i8BD2E39B07113194/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The field:&lt;/P&gt;
&lt;TABLE class="table-properties"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="tdwrap label_left"&gt;&lt;LABEL class="label-inline" for="650b07dbc0a80006004f95f2c929335d"&gt;List of file extensions (comma-separated) that can be attached to documents via the attachment dialog. Extensions should not include the dot (.) e.g. xls,xlsx,doc,docx. Leave blank to allow all extensions.&lt;/LABEL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;found in System Properties &amp;gt; Security is left blank meaning all file types are permitted. The file type that pulled this error code was an .xls file type "Microsoft Excel 97-2002 Worksheet" at 17,034 KB. Another excel sheet of this same file type (.xls) at 4,506 KB was able to be uploaded with no issues. As a workaround, this excel sheet at 17,034 KB was converted to a zip to be uploaded (as per the servicenow KB article suggests: https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0718011). Is there another workaround for this issue? Also what is causing this issue for this excel file if other excel files are able to be uploaded?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 23:41:55 GMT</pubDate>
    <dc:creator>astanley</dc:creator>
    <dc:date>2022-05-24T23:41:55Z</dc:date>
    <item>
      <title>Error: file type not permitted or mime type does not match the file content?</title>
      <link>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568012#M224938</link>
      <description>&lt;P&gt;Hello I am getting the following error when trying to upload an excel file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/188087i8BD2E39B07113194/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The field:&lt;/P&gt;
&lt;TABLE class="table-properties"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="tdwrap label_left"&gt;&lt;LABEL class="label-inline" for="650b07dbc0a80006004f95f2c929335d"&gt;List of file extensions (comma-separated) that can be attached to documents via the attachment dialog. Extensions should not include the dot (.) e.g. xls,xlsx,doc,docx. Leave blank to allow all extensions.&lt;/LABEL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;found in System Properties &amp;gt; Security is left blank meaning all file types are permitted. The file type that pulled this error code was an .xls file type "Microsoft Excel 97-2002 Worksheet" at 17,034 KB. Another excel sheet of this same file type (.xls) at 4,506 KB was able to be uploaded with no issues. As a workaround, this excel sheet at 17,034 KB was converted to a zip to be uploaded (as per the servicenow KB article suggests: https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0718011). Is there another workaround for this issue? Also what is causing this issue for this excel file if other excel files are able to be uploaded?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 23:41:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568012#M224938</guid>
      <dc:creator>astanley</dc:creator>
      <dc:date>2022-05-24T23:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: file type not permitted or mime type does not match the file content?</title>
      <link>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568013#M224939</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="e2dde47cdbd33090770be6be13961902"&gt;@astanley&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a very good article from ServiceNow on this issue. There might be multiple cause for this and a solution for each of them has been provided.&lt;/P&gt;
&lt;P&gt;Please refer the HI article below which I think should get you to a solution.&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0718011&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hope this helps. Please mark the answer as correct/helpful based on impact.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Shloke&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 04:13:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568013#M224939</guid>
      <dc:creator>shloke04</dc:creator>
      <dc:date>2022-05-25T04:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error: file type not permitted or mime type does not match the file content?</title>
      <link>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568014#M224940</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="e2dde47cdbd33090770be6be13961902"&gt;@astanley&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding to my previous note here, there is another way mentioned by ServiceNow to handle this is by setting the below property to FALSE&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Property Name&lt;/STRONG&gt; :&amp;nbsp;glide.security.file.mime_type.validation -- Set this to False&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Property URL&lt;/STRONG&gt;:&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;https://instance.service-now.com/nav_to.do?uri=sys_properties.do?sys_id=fa55aa66a5380110c0a0e1db2cdc95b2


Replace "instance' with your instance name.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;HI Article Reference&lt;/STRONG&gt;:&amp;nbsp;https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0998558&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hope this helps. Please mark the answer as correct/helpful based on impact.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Shloke&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 04:16:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568014#M224940</guid>
      <dc:creator>shloke04</dc:creator>
      <dc:date>2022-05-25T04:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error: file type not permitted or mime type does not match the file content?</title>
      <link>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568015#M224941</link>
      <description>&lt;P&gt;I have a question on this. I have turned this option off but still continue to get the error for a DLL file I am trying to upload to the MID Server JAR Files. I have even checked to make sure that dll is added to the list of allowed extensions to upload.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 20:51:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/error-file-type-not-permitted-or-mime-type-does-not-match-the/m-p/1568015#M224941</guid>
      <dc:creator>MarkM1172412930</dc:creator>
      <dc:date>2022-08-24T20:51:24Z</dc:date>
    </item>
  </channel>
</rss>

