Good afternoon,
I am hoping someone may be able to shed light on how I can further diagnose SMI application issues.
We have developed a custom application that will be ready for testing shortly (not for public use). The application runs as expected using fdk run and SMI endpoints are working correctly. We are using the same iparams locally as we are inside the platform, but are facing the following 500 server error issue.
errorSource: "APP"
message: "Error while executing the app server script."
status: 500
We have logging both before and after an invokeTemplate, so I have narrowed it down to this, but we see no other errors in the SMI application log that tells us why that particular invokeTemplate actually failed (no custom stdout logging is seen in the logs directly after the try/catch block, .catch() promise handling etc). We tried hard-coding the iparams to no avail. Note, the SMI endpoint successfully returns if I remove the invokeTemplate.
To explain the behaviour, it seems that the process is simply crashing, as I would expect something/anything from invokeTemplate; it fails after 4-5s.
We have other invokeTemplates in the application that seems to be working fine.
I understand it’s sandboxed so inspecting any node logs further upstream on the Freshworks platform is probably not going to be possible from my end.
Also to note, this same application was functioning correctly around 2 weeks ago as we were demo’ing it to our internal stakeholders.
Previous demo version was running on node 24.11.0 and fdk engine 10.0.0.
This version is running on node 24.11.0 and fdk engine 10.1.0.
I have also tested this version on 24.11.0 and fdk engine 10.0.0 without success.
Thank you in advance.