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.

cant create or update incident by API call

Enovella23
Tera Contributor

hi all im trying to update or create an incident record, using a non-admin user, i have grante to this user this roles

-itil

-snc.internal

-incident.write

but every time i try it i receive this message:

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

using admin user i can create but in a real life scenario i cant use this type of user

7 REPLIES 7

also im trying to create or update a record using Rest Api but i cant

 

Hello @Enovella23

 

Not sure how did you apply ACL for incident, but check and analyze the troubleshooting below.

1. Check the field level ACL which is applied in incident table.

2. Check whether any business rule is creating any issue in incident table while creating or updating the incident via Rest API.

 

*************************************************************************************************************
If my post is useful, please indicate its helpfulness by selecting " Helpful."

 

Regards,

Murali.K.V.R

my ACLS  are oob, let me check the business rule, also the result i get from access analyse are this:

Enovella23_0-1764005106915.png