- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 02:57 AM
Hello,
I'm trying to implement a flow action which contains a SFTP step. I want to get a file from a SFTP server and copy it to my servicenow instance (create an attachment in RITM record).
I think that there is already no issue in credentials, etc. But when I check the output it displays:
[{"file_name":"tpw_feed_it.txt","error":"Error creating Attachment tpw_feed_it.txt : Method failed: (/api/now/v1/attachment/file) with code: 403 - Forbidd"}]
I tried to add ACL for sc_req_item table (RITM) for read and write with "mid_server" role.
Is there any configurations I missed?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 05:07 AM
I was able to achieve the solution on this.
MID server user should have role "admin"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 04:13 AM
Another solution was to add sn_request_write role to Mid Server User if you don't want to give admin access to the MID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 02:59 AM
I also tried to update the properties of the .txt file from 0640 to 0777 but that still does not let me copy the file to the RITM record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 05:07 AM
I was able to achieve the solution on this.
MID server user should have role "admin"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 04:13 AM
Another solution was to add sn_request_write role to Mid Server User if you don't want to give admin access to the MID