eric-at-nocoast/zendesk-node-api

list() method is not working

codetycon opened this issue · 0 comments

I am facing issue with a listing of tickets and users. I am able to create a ticket but not able to list, I tried both options list and search but not working

Here is my code of list API

zendesk.tickets.list().then(function(tickets){
    console.log(tickets);
  });

Here is a Response header of list API

Request URL: https://task-me-not.zendesk.com/api/v2//tickets.json
Request Method: OPTIONS
Status Code: 200 OK
Remote Address: 35.174.158.178:443
Referrer Policy: no-referrer-when-downgrade