How to insert a label_entry via REST API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2017 03:46 AM
Hi all,
I tried to create a label_entry via REST API, the label_entry is created but the field table_key is empty.
/api/now/table/label_entry {"label":"630086900f23320050c8cfdce1050efc","table":"incident","table_key":"7e1146100f23320050c8cfdce1050e5f","title":"Incident - INC0020001"}
Any idea why table_key is not added?
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2017 06:00 AM
There is a write ACL for the table_key field. The ACL requires that the user has the maint role. This is probably what is preventing you from writing to that field.
Look for the label_entry.table_key record in your list of ACLs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2021 09:15 PM
How to check the ACL Please guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2017 05:59 AM
Thanks, it works

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2017 06:00 AM
Glad to help! If you feel my answer was correct, please mark it as such.