- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi,
I integrated 2 instances and able to create new case record from sc_task in other instance but when i am trying to send an attachment I am unable to do.
I am receiving an error message "
error":{"message":"User not authorized","detail":"User is unauthorized to write to table: sc_task"},"status":"failure"
I checked role and have itil role too. Let me know what is causing it to not send an attachment.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
if your API user which you are using doesn't have WRITE Access to sc_task then attachment can't be added
in your target instance ensure the API user has correct role
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Can you share the script that you have configured to send the attachment ?
I don't think if just giving itil role would be sufficient because the entry has to added on attachment table. Not necessary 'itil' role would have access to the attachment table.
Regards,
Nayan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
if your API user which you are using doesn't have WRITE Access to sc_task then attachment can't be added
in your target instance ensure the API user has correct role
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader