Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ACL Exception Insert Failed due to security constraints

avinashhfn
Kilo Explorer

I am trying to add installed software in my instance in table cmdb_sam_sw_install through REST API call in PHP, I am getting follwing responce.

I want add list of softwares to one machine. Please help me to add software list through API

{
  "error": {
  "message": "Operation Failed",
  "detail": "ACL Exception Insert Failed due to security constraints"
  },
  "status": "failure"
}

3 REPLIES 3

Abhinandan Pati
Giga Guru

Hi Avinash,



Check 'Create' ACL on 'cmdb_sam_sw_install' table. A user whose credentials you have mentioned in REST request should satisfy all the conditions,script & role mentioned in that particular 'Create' ACL.



Thanks,


Abhinandan


Untitled.png


Hi Abhinandan,



I am using system administrator account only.


After this I went to Access control(ACL), I searched for same table. 'cmdb_sam_sw_install'   is having something else user with create access. And I am not able to change that username. Its restricting me. Please help.....


Hi Avinash,



Why do you want to update 'Updated by' field? Its a system field. What I meant is open that record & check for condition,script & role.



Thanks,


Abhinandan