Unable to fetch data using data methods

Hi fellow devs,

I tried to fetch the logged-in agents using data methods, and the method returned an error.

Can anyone help me out here?

Thank you.


Now the event methods are not working too…

client.events.on(“ticket.startTimer”, () => console.log(“event”));

can anyone help me out me?