[ERROR] Event callback 'onTicketCreateHandler' is not defined for product: freshservice

Hi all,
After Freshworks CLI got updated to 8.6.6 I am facing the below issue
[ERROR] Event callback ‘onTicketCreateHandler’ is not defined for product: freshservice.

server.js
image

manifest.json
image

Kindly help to overcome this issue

Cheers,
Tejasri Kalluri

Hi @Tejasri_Kalluri,
Good Day!
you mentioned FDK version is 8.6.6 but in the manifest’s shows 8.6.4,

can you please check the version which you are using?
and try to update the FDK to the latest version and check if the issue persists.

Thanks

2 Likes

Hi @Santhosh ,

I used the latest version which is 8.6.6 in the manifest.json file. this is the latest version on my PC(windows) Kindly find attachment while running the app

Hi @Tejasri_Kalluri

Good Day!

Can you please try converting the onTicketCreateHandler from the arrow function to the normal function like below? and let us know whether it is working.

onTicketCreateHandler: function(args) {
  // logic
}

Thanks

1 Like

This works thanks for advice

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.