Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

PUT additional comments on Incident via REST api is failing

Fotios Kossyvas
Tera Contributor

Hi, i am trying to add a comment (Additional comment) on a Incident via the REST API.

The account i am using has this roles:

  • soap_create
    soap_update
    sn_incident_read
    sn_incident_write
    sn_incident_comments_write

The body of my call is this    {"comments":"test"}

When i use the REST API Explorer the api call works ok (of course, i'm the admin) but when i use this account it give me a "403 Forbidden" response with this result

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

Is there a role i am missing? I have all the OOTB roles and i haven't add anyone else for this case.

1 ACCEPTED SOLUTION

palanikumar
Giga Sage
Giga Sage

Hope you passed the sys_id of the incident to the URL attributes

Please try updating the ticket using the same user used for calling the API. There could be ACL based on assignment group or opened by field

Thank you,
Palani

View solution in original post

1 REPLY 1

palanikumar
Giga Sage
Giga Sage

Hope you passed the sys_id of the incident to the URL attributes

Please try updating the ticket using the same user used for calling the API. There could be ACL based on assignment group or opened by field

Thank you,
Palani