Why I am getting Empty object in Get method response

atik1107
Kilo Contributor

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

 

atik1107_0-1718263401962.png

 

2 REPLIES 2

Slava Savitsky
Giga Sage

Does your rest user have read access to the incident table?

David Patterson
ServiceNow Employee
ServiceNow Employee

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.