Download encrypted attachment using API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 03:16 PM
Hello all
I am trying to download an encrypted attachment using this API https://myinstance.com/api/now/attachment/{sys_id}/file.
Files without encryption works without any issues.
I get the following response
How do I download encrypted files using service now API?
Thank you
Ragu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 11:54 PM
Hi @RagunathC ,
Are you sys_id should be of the Attachment from the sys_attachment.LIST table.
If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin,.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 08:23 AM
Hi Nahmuddin,
I have the Sys_id and I am able to download unencrypted file without any issues.
I get the error only when I try to download files that were encrypted while uploading.
Hope this helps.