Error - "ACL Exception Insert Failed due to security constraints"

shubham23
Giga Contributor

Hi,

I am trying to upload an attachment in the incident table using API. But I am getting below error:

status: failure
The remote server returned an error: (403) Forbidden.
message: Operation Failed
detail: ACL Exception Insert Failed due to security constraints

I am using non-admin user and don't know which ACL rules operation should be applied to which table. So, that user can upload the attachments

Could anyone please help me ?.

Thanks!

1 ACCEPTED SOLUTION

shubham23
Giga Contributor

Working:
Added below ACL and now able to upload the attachment:

  • sys_attachment_doc (create)
  • sys_attachment (create)
  • ecc_queue (create)

For Downloading attachment provided below ACL:

  • sys_attachment_doc (read)
  • sys_attachment (read)
  • ecc_queue (read)

View solution in original post

16 REPLIES 16

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Which incident table? Security Incident or normal incident?

Thanks,
Ashutosh

@Ashutosh Munot - Normal incident

HI,

Are you trying to create this attachment using API and from which scope.

 

You have to check ACL on sys_attachment table and the table Setting if that table is exposed to Web Service

find_real_file.png


Thanks,
Ashutosh

@Ashutosh Munot1  Hi. Please help. I am also having this issue, but with a CR (incidents creation works fine for the same Admin user). My question is this. How did you get to what is shown in your screenshot? I also need to check and grant ACL on sys_attachment table. But I dont know how to get to the screen showing me what you pasted here. I am tryig to create a CR via an API (Ansible automation). Thank you.