Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

User Not Authorized, (Failed API level ACL Validation), status=403

saurabhchhajed
Kilo Explorer

Hi,
I created a new user and use that user to do few operations using REST API on my instance.
I provided the role user_admin role to perform users CURD operation.

and i tried this using my application client but it showing me the error

find_real_file.png

find_real_file.png

Please let me know how i will solve this issue as this operation i am able to do with admin but not with the simple user.
so please let me know what default roles are required to perform the operations from REST API

2 REPLIES 2

siriprudhivi
ServiceNow Employee

Hi Saruabh,


The difference is in the roles assigned to admin user and this new user. I believe you are trying to create a record in sys_user table. You need to check ACLs on sys_user table to find the roles required to create and add them to "new" user.


Best Regards,


Siri




Please select Like/Helpful/Correct if this helps


Subhajit1
Tera Guru

You will have to have the rest_service role added to your Service Account(the user you are using) and also ensure that the rest_service role has the ACL rights to create/update records on the sys_user table(if you are calling it directly.)