"Failed API level ACL Validation" - scoped app table

Nen
Tera Guru

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.

  1. My scoped app table is Accessible from "All application scopes"
  2. The "Allow access to this table via web services" is checked
  3. The user account has the "snc_platform_rest_api_access" role
  4. 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!

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hello! There's only one READ and one WRITE ACL and the user account has all the roles on the ACLs as well.

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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.