VENUMASHETTY
4 years agoHelper
No Results retrived from api/2.0/search
Dear Community Members ,
We are using https://[Domain]/restapi/vc/authentication/sessions/login to authenticate/get the session key , we are sucess in getting the session key
On upon receiving the seesion , Passing the session key to : https://www.myCommunity.com/api/2.0/search?q=select * from messages , to get the required columns , I am using Get( In postman) , I am receiving 200 response ( sucess) but no data is getting retived ,{"status":"success","message":"","http_code":200,"data":{"type":"messages","list_item_type":"message","size":0,"items":[]},"metadata":{}} ,
Thanks !!
Hi VENUMASHETTY. I'm not sure what's going on here exactly. A couple of basic troubleshooting questions:
- Does the user you're authenticating as have permissions to view messages?
- Could this possibly be a CORS or HTAccess issue?