sys_dictionary, sys_db_object and sys_glide_object role access

mjocasio23
Tera Expert

I have an API which I used a user account which I provide the ROLES define in a Role call datadump to execute the API. The roles assigns to this role are: soap_query and itil roles.

Im getting the following error 


{"error":{"detail":"User is unauthorized to access table: sys_dictionary","message":"User Not Authorized"},"status":"failure"}
Exception in thread "main" servicenow.api.InsufficientRightsException: https://devxxxxxx.service-now.com/api/now/table/sys_dictionary

What other roles I need to add to this user to be able to access the sys_db_object?

 

I did declare the create access control in the table application access.

 

1 ACCEPTED SOLUTION

Prateek kumar
Mega Sage

Atleast from the OOB configurations you would need

personalize_dictionary  or

personalize_read_dictionary


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

View solution in original post

3 REPLIES 3

Prateek kumar
Mega Sage

Atleast from the OOB configurations you would need

personalize_dictionary  or

personalize_read_dictionary


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

A-N
Tera Expert

Try this

Left Navigation > type "sys_security_acl.LIST" and press Enter key

find_real_file.png

Check if the "Table API" ACL is enabled / Active / True

In the the list view expand the filter and search for Name Contains Table API

find_real_file.png

Click "Run"

Set this to "True" and then grant the user the following role "snc_platform_rest_api_access"

Let me know if this resolves your issue

 

 

 

 

The previous configuration setting allow to access the table.... Should I still do your change?