how do I remove this error message: ACL exception Insert failed dur to security constraints for change request

mick1
Kilo Contributor

We are trying to intergate with Electric Cloud to automatically create the change request but we are getting this error message:

++ curl -X POST -u 'electriccloud.services:aeb9a!9d63d027db6eca@a2371aad9e5' -H 'Accept: application/json' -H 'Content-Type: application/json' https://oportunsandbox.service-now.com/api/now/table/change_request -d ' { "category": "Application", "u_subcategory": "Release", "type": "Normal", "priority": "2", "state": "New", "risk": "Moderate", "assignment_group": "Engineering", "short_description": "Full Release Version 16.7.2 for SIP, Zeus, and Mobile", "description": "DOC-1292 Enhance CA loan docs for GCP/RACH scenarios [QA Only]", "start_date": "2016-09-29 21:00:00", "end_date": "2016-09-29 22:00:00", "change_plan": "api-client", "backout_plan": "Revert deploys to previous version.", "test_plan": "QA will execute production sanity tests." }'

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

4 REPLIES 4

Geoffrey2
ServiceNow Employee
ServiceNow Employee

Is your Change table configured to allow inserts via web service?


Screen Shot 2016-09-30 at 11.11.31 AM.png


Does the User account you're using have the correct roles to allow inserts on the change table?


mick1
Kilo Contributor

This resolved my issue. I completely forgot to add a role to allow this action.


arawat
Kilo Contributor

Hi Mickey,


How did you add role? I created a new user but am unable to add table role to that user. I am on Istanbul instance.


how can i navigate to that screen?