The CreatorCon Call for Content is officially open! Get started here.

tiagomacul
Giga Sage

 

 

 

 

Failed API level ACL Validation - 403 Forbidden error

 

When we're trying o connect on the web servisse. Are you getting this error?

Steps to reproduce: Connect using some programming tool OR API Explorer

  1. >> System Web Services > REST > REST API Explorer

find_real_file.png

2. Select

find_real_file.png

3. Select  your table

find_real_file.png

4. Send

find_real_file.png

IF you get this answer: - response body

{
  "error": {
    "detail": "Failed API level ACL Validation",
    "message": "User Not Authorized"
  },
  "status": "failure"
}

 

Check this configuration: - solution

 01. Navigate to >> System Definition Tables

find_real_file.png

02. Select your table

find_real_file.png

 03. Open Application Access TAB

find_real_file.png

04. Change Accessible from to "All application scopes"

find_real_file.png

 

image

Script Summary

Summary

KB0686244 - When you impersonate a user and then try to re-impersonate your own user account, the Impersonate User popup window shows an error Failed API level ACL Validation

 

 KB0752345 - Service Portal: Order confirmation screen does not allow ITIL users to change the "Request for" field.

 

KB0745354  - Unable to access list view of records in mobile app

 

KB0726447  - Impersonation not working for certain users

 

KB0713041 - Cannot impersonate a user (redirected to login page)

Comments
Kfir Cohen
Tera Contributor

Hey Tiago,

 

I am trying to query sys_plugins table, but getting the very same error:

 

> curl -H 'Authorization: Bearer <TOKEN>' 'https://<INSTANCE>.service-now.com/api/now/v1/table/sys_plugins'

{"error":{"message":"User Not Authorized","detail":"Failed API level ACL Validation"},"status":"failure"}

 

 

 This is the table config

 

KfirCohen_0-1677059786361.png

 

This is the access rule I have created 

 

KfirCohen_1-1677059982953.png

KfirCohen_0-1677066714647.png

 

Any idea what is missing?
Thanks!

 

 

Community Alums
Not applicable

Hi  Tiago  and other experts,

 

We get  this issue with 403 error and the same 

{
  "error": {
    "detail": "Failed API level ACL Validation",
    "message": "User Not Authorized"
  },
  "status": "failure"
}

 But we checked all the configurations on the table at Application Access Tab, everything is right.  We still get these 403 errors.   Do you or other experts have any other suggestions to solve these issue?

 

 

Thanks lot!

 

Jerry

Version history
Last update:
‎01-07-2021 10:23 AM
Updated by: