I am trying to migrate from Freshdesk to Freshservice a serverless app(platform version 2.3 and fdk 9.0.0) that listens to “onTicketUpdate” event and delete ticket attachments under certain conditions.
The problem is that when I subscribe my custom app to this event as you can see below, the app crash once I enter into a ticket.
and throws this error:
I tested the same app with other events and it works. I even removed all the code inside the event and left only a console.log and it throws the same error.
I also checked the logs and there are not errors or warnings.