Rest API response as "Result": []

Raunak kapoor2
Tera Expert

Hi All,

I am trying to get the response in postman using the GET method 

 

GET https://xxxx.service-now.com/api/now/table/sc_req_item?sysparm_query=request.requested_for%3Djav...

 

I am using the bearer token and the response i get is 

"Result": []

whereas when i tried this in Rest API explorer i am getting the data in response.

I am guessing this is the access issue for the account i am using i have tried providing different types of access but still i get the same response. 

 

1 ACCEPTED SOLUTION

Abhay Kumar1
Giga Sage

@Raunak kapoor2  you can try below things to troubleshooting:

1. Hit the get url on your browser and enter api user account userid and password, see what it display on the page

2. Untick web service access in api user profile and impersonate as api user and check the record on service portal , if there is any access issue there you will get some hits and you can debug further for required access.

Hope this will help you.

 

View solution in original post

1 REPLY 1

Abhay Kumar1
Giga Sage

@Raunak kapoor2  you can try below things to troubleshooting:

1. Hit the get url on your browser and enter api user account userid and password, see what it display on the page

2. Untick web service access in api user profile and impersonate as api user and check the record on service portal , if there is any access issue there you will get some hits and you can debug further for required access.

Hope this will help you.