question

Bharath Anand R avatar image
Bharath Anand R asked

problem connecting to my App

Hi All, I am new to java/node JS and AWS. I have created the history buff as per the instruction. Whenever I ask alexa to "Open History Buff" I get a message stating that "I am having trouble connecting to your application" other commands of ASK is returned with the answer " I cannot understand" I was able to pull the error from AWS. But I checked with eclipse +node js addin , it did not return me a syntax error. Any help to troubleshoot will be of great help. Syntax error in module 'index': SyntaxError at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17)
alexa skills kitsubmission testing certification
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jjaquinta avatar image
jjaquinta answered
Try connecting to it with the Echo Simulator ( https://github.com/jjaquinta/EchoSim) If it can't connect, then there is a problem with how your app is hosted and exposed. If it can connect, then the problem is likely to be how you've connected it to Echo in the developer's console.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ross@Amazon avatar image
Ross@Amazon answered
I have confirmed that the History Buff example skill found here ( https://developer.amazon.com/edw/res/download/AlexaLambdaExamples.zip) works correctly. When building the sample make sure to follow every step. Adding the event source to a lambda function through the Actions button is a commonly overlooked step by those new to lambda.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.