Query Range ACL Errors
Troubleshooting: Query Range ACL Errors After May 2025 ServiceNow Patch
Overview
In May 2025, ServiceNow applied a platform-wide security patch which automatically created additional Access Control List (ACL) records on customer instances.
This change unintentionally affected the ShareLogic Unifi application by generating dozens of redundant ACLs.
Unifi already enforces strict access control within its own data model. These extra ACLs do not enhance security, but they can block access to transactional data and cause query range errors when using Unifi tables.
Symptoms
You may encounter one or more of the following:
Error messages such as “Insufficient query range” or “Access denied to table…”
Inability to query or list transactional records through Unifi interfaces or APIs
Unexpected filtering or empty results when viewing Unifi data
Cause
The May 2025 ServiceNow patch created new ACLs in the Unifi scope (x_snd_eb) under the system user @@snc_write_audit@@. These records override Unifi’s intended access rules.
Resolution
You can safely disable these redundant ACLs. Use the script below to identify and deactivate them.
Prerequisites
adminandsecurity_adminroles
Steps
Set the application picker to ShareLogic Unifi and choose a suitable update set.
Elevated privileges for
security_admin.Navigate to System Definition → Scripts - Background.
Paste the following script into the editor.
Click Run Script.
Review the system log for confirmation.
Commit or migrate the resulting update set through your normal release process.
Last updated
Was this helpful?
