- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 03:41 AM - edited 08-20-2025 03:42 AM
Hi Team,
We have a scripted REST API to share our sctask and RITM details. We have setup a integration user for this. But integration user is not able to get any records in response. Response code is 200 but records in response is zero.
Which roles we need to give to user?
Observation: When we provide admin role it works. But when we try with specific role it does not work.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 06:46 AM
We found the issue, Its related to our Data Segregation configuration, Its a business rule after disabling it use is able to get records.
We are still analysing the root cause, but its related to data segregation configuration.
Thank you all for your suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 06:47 AM
Yes, Tried that also but issue was with data segregation configuration. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 05:52 AM
Can you check Security configuration for your REST API
Refer this section specifically,
If this helped to answer your query, please accept the solution and close the thread.
Thanks,
Bhuvan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 03:55 AM
If you are using GlideRecord in scripted REST API then it doesn't require any ACL.
If you are using GlideRecordSecure then ACLs come into picture.
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
08-20-2025 04:14 AM - edited 08-20-2025 04:17 AM
Open your scripted REST API and check the value in Default ACLs?
Share the screenshot of scripted rest API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2025 06:46 AM
We found the issue, Its related to our Data Segregation configuration, Its a business rule after disabling it use is able to get records.
We are still analysing the root cause, but its related to data segregation configuration.
Thank you all for your suggestions.