Why I am getting Empty object in Get method response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 12:23 AM
Hello Experts,
I am doing integreation with servicenow to servicenow (E-bonding) in pdi , where I have created rest user and given the rest_service role to that user.
As by default Get method created while creating the Rest message, I was testing the Get method...
Status I got - 200,
But in body I am getting the result object as empty.. added the screenshot please refer..
Anybody can help me with this Why i am getting this empty object.
Thanks in advance,
Atik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 06:15 AM
Does your rest user have read access to the incident table?
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2025 06:37 AM
The question on its face boils down to "http 200" received - implies no problems with authentication.
If no data is being returned, it could be that the Service Account handling the REST call doesn't have permissions to access the table data being requested. Check the Groups and Roles of that account to be sure.