Table API - Failed API level ACL Validation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 02:30 AM
Hi,
I've created a custom table in a scoped app
I've configured the table to be called by REST API (
I've configured ACL so that user with a specific role can perform all CRUD operations
I've given that role to a user
Verified that the user can see the record in the table and create a new record
Tested with REST API Explorer (it works with admin)
Tested the curl code (it works for admin, but not with my user)
Getting the following error message:
{
"error": {
"message": "User Not Authorized",
"detail": "Failed API level ACL Validation"
},
"status": "failure"
}
What am I missing?
Thanks,
Nicola

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2023 04:38 AM
Hello @Nicola Attico ,
Is the user record you are using has the role "rest_platform_access"? Did you validate the ACL configured in scripted API record record as well as the resource level ACL?
Below links explains ACL configuration for scripted API.
Thank you,
Ali
Thank you,
Ali