0
votes

I've created the lambda function for Alexa skill. All the intents and questions are working fine when tested in amazon developer console. When same is deployed in Alexa App, only launch request intent is working well, other intents are failing to give exact output. Code sample here

1

1 Answers

1
votes

Check the Lambda log (CloudWatch), then try adding console.log() messages to see if your methods are being called, and if so what is happening.

I've seen similar problems in code when it was expecting upper case strings. Alexa always passes strings in lower case. For example, you can type "Hello" into the console and if the code is comparing with "Hello" it will work. But when you speak "Hello" to Alexa, it will pass the string "hello" (all lower case) in the request.