I have a serverless app which doesn’t have iparams or oauth. It simply makes a call to an api on ticket creatton and ticket update. We have deployed this in production but are unable to debug the app as per FD docs , serverless logs will only appear if oauth is used or iparams are used. (both of which are not required here). Please suggest.
Also, for reference , the issue being faced is mentioned below:
We are trying to substring phonenumber from onticket create to remove the country code. This worked well in FD testing environment but for some reason it’s not working in production account. As logs are not available, we will not be able to give further analysis for this. Please suggest how could we resolve this:
var phoneNumber = “”+args[‘data’][‘requester’][‘phone’];
console.log(“Requester msisdn:” + phoneNumber);
var destinationMobileNumber = “95” + phoneNumber.substr(phoneNumber.length - 10);
console.log(“destinationMobileNumber:” + destinationMobileNumber);