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

shubham23
Giga Contributor

@Nikhil Bahurupi - User have below roles:
1. import_transformer

2. itil

3. itil_admin

4. personalize

5. personalize_dictionary

6. rest_service

And below ACL rules:

1. Read and Create operation for table sys_attachment and sys_attachment_doc.

2. Create an operation for ecc_queue.

Hi Shubham,

impersonate this user and see if you can add attachment manually.

Hi @Nikhil Bahurupi,

I can attach the document manually but not with API.

AMIT SHISHODIA2
Giga Guru

Hi Shubham,provide security_admin and admin role to user,then this issue will be solved.

Please mark correct and helpful if it solves your issue.

In case of any issue,please reply

Granting the security_admin and admin roles will bypass all security for that user and should be avoided for non-admin users.