- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2023 04:33 AM
While updating computer rooms with API, we encounter an error for certain room. It's important to note that we are employing a service account for these operations.
Error : {"error":{"message":"Operation Failed","detail":"ACL Exception Update Failed due to security constraints"},"status":"failure"}
I have reviewed the ACL on "cmdb_ci_computer_room" and found that it has the creator role assigned to it. However, I suspect that this may not be the actual problem, considering that other rooms are being updated successfully. The issue seems to be specific to just one room.
Room's install status : In-use
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2023 01:28 AM
seems some logic is restricting the update.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2023 05:41 AM - edited ‎06-26-2023 05:42 AM
since you said it's happening with only that particular record.
Did you check the API user has write access to that field?
Is it working fine when you use admin credentials for that API?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2023 08:06 AM
The user has the ability to write/update rooms, just like they are updating other rooms in a similar manner. However, granting admin access to a service account is not possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2023 09:06 PM
don't grant admin access.
I just wanted to verify if everything is working fine for that record when admin is performing the action
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2023 12:31 AM
Thank you for your response.
After reviewing the situation with administrative access, we did not encounter any problems when updating rooms using the administrative privileges.
Could you kindly provide me with the cause of this issue, as it appears to be specific to a particular room? Additionally, I would appreciate any suggestions or measures that can be taken to prevent this problem from occurring in the future.