There are no changes in the May in iparams we just updated the app with email no changes in app.
I will record the HAR and send you soon.
Here is the url https://sotiriszegiannis.freshdesk.com/
Thanks for sharing the HAR file! We ran a check on our side and obtained the following log. Can you confirm if the SMI fn. is tested properly with appropriate error handling? I am assuming that for the settings that are provided, it is likely that the logic ran into an app error which was unfortunately not handled. Also, if you are making use of request npm, kindly switch to axios or $request (since request is deprecated)
TypeError: Cannot read property 'statusCode' of undefined
at Request._callback (server.js:21:39)
at self.callback (/var/task/developer/node_modules/request/request.js:200:22)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.onRequestError (/var/task/developer/node_modules/request/request.js:831:8)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:355:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
I have a question we have two more apps Freshdesk Asana and Freshservice Azure DevOps which are also using same version of request module how they are working fine ?
Hi @aspnetdevelopergoyal
As you can see from here, it is likely that the response might not have been received. A better option would be to look into the error object first which was obtained after making the call. Also, If your code accidentally attempts to read the statusCode directly or without checking the error, this situation is prone to happen. Ideally, a check should be placed on response object before reading the stats code like so :
response && response.statusCode
If the changes are incorporated & if you still face the same, I would recommend updating the public app. If the public app is not updated, it will still contain the old code. This would lead us to a situation where the custom app might contain leading changes than the public app resulting in disparity. If these points are taken care, I believe it should be good.