Response Body--Error "message": "Insufficient rights to query records",
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2025 01:57 AM
I am getting a response as:-
{
"error": {
"message": "Insufficient rights to query records",
"detail": "Field(s) present in the query do not have permission to be read"
},
"status": "failure"
}
Under the REST API Explorer, I am getting this error when I was checking with some logged-in user.
So, now it is happening due to ACL, but which ACL
Any idea for the debugging steps??
Warm Regards
Utsav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2025 02:14 AM
@Utsav JAISWAL
what's your actual business requirement?
what is that logged in user doing with that REST API Explorer?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2025 02:22 AM
Hi @Community Alums
impersonate with the user that is performing the request and request the same records from the target table with exact the same query you have used in the REST API explorer.
Then start debugging the ACL issue. There are many helpful ressources available and some of them I have listed on my page at https://www.servicenow.com/community/servicenow-ai-platform-articles/administration-security-amp-data-privacy-knowledge-amp/ta-p/2318032#acl
Maik