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.
image

Can anyone help me out here?

Thank you.

Hi,

Now the event methods are not working too…

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

can anyone help me out me?