- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2014 11:32 AM
I added txt to the System Properties > Security > list of file extensions that can be attached without a '.' . When I attach the .txt file, I get a 'txt is not an authorized file extension'.
Using Calagry. I went to the SN demo site and added txt to System Properties > Security and attached the same file and did not get the message. I am wondering if there is something else I need to be checking?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2014 12:12 PM
Submitted a ticket to HI and it ended up being such a simple thing. Need to make sure don't have ANY spaces so , txt won't work, it needs to be ,txt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2014 07:26 PM
Hello,
The system property you are speaking about (System Properties > Security > list of file extensions that can be attache) is blank for me but I am able to attach the test.txt file from your post. I used the incident form to attach the file.
I am wondering if there is any security rule rule that is preventing you to attach the file? I would open a ticket for ServiceNow support, they may have seen this error previously.
Good luck, Faisal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2014 12:12 PM
Submitted a ticket to HI and it ended up being such a simple thing. Need to make sure don't have ANY spaces so , txt won't work, it needs to be ,txt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2023 08:55 AM
I am getting the message is not an authorized file extension when using the attachment api to add a picture to a catalog item. doing a post like this
$attachUri = "https://$instancename/api/now/attachment/file?table_name=sc_cat_item&table_sys_id=" + $id + "&file_name=picture"
$upload= Invoke-RestMethod -Headers $headers -Uri $attachUri -Method Post -InFile "f:\Program Files (x86)\Flexera Software\App Portal\Web\Images\Packages\Objects.png" -ContentType 'multipart/form-data'