"Failed API level ACL Validation" - scoped app table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2020 12:45 AM
Hi All. I'm getting this error while trying to make an API call to a scoped app table
{"error":{"message":"User Not Authorized","detail":"Failed API level ACL Validation"},"status":"failure"}
I've read a lot of questions here in the community and I've tried everything but I can't make it to work.
- My scoped app table is Accessible from "All application scopes"
- The "Allow access to this table via web services" is checked
- The user account has the "snc_platform_rest_api_access" role
- The user account has the roles on the Requires role tab of the table's read ACL
Is there anything else that I've overlooked? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2020 12:53 AM
Hi,
Is there any field level READ ACL or WRITE ACL configured which is blocking the read/write access?
the endpoint you might be consuming might be having that field which is not accessible
please check by login to the instance
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2020 01:13 AM
Hello! There's only one READ and one WRITE ACL and the user account has all the roles on the ACLs as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2020 01:51 AM
Hi,
So only 4 OOB table level ACLs are present.
Did you check by logging into the instance with that user whether that user is able to read and write on records.
Also what is the exact endpoint you are consuming and what you are trying to perform?
Did you try checking by using admin user for consuming the endpoint?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2020 07:11 PM
Hi! I just figured it out. Apparently, one of my teammates deactivated the Table API ACL and created a new one with a new role. So I just added that new role to the user account and everything is now working properly. Thank you for your taking the time to help me.