Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-node-alexa-skill example response causing error in Service Simulator Tool #100

Closed
jloveland opened this issue Feb 20, 2017 · 2 comments · Fixed by #101
Closed

aws-node-alexa-skill example response causing error in Service Simulator Tool #100

jloveland opened this issue Feb 20, 2017 · 2 comments · Fixed by #101

Comments

@jloveland
Copy link
Contributor

https://github.com/serverless/examples/tree/master/aws-node-alexa-skill
I get the following when invoking the skill using the Service Simulator Tool
Error: There was a failure invoking your skill with text input, please try again.

The solution was to send the setEndSession attribute in the response because it is a required field when using the Service Simulator Tool to test the skill. I set shouldEndSession: false in the response and it resolved the issue

reference:
https://forums.developer.amazon.com/questions/57631/error-there-was-a-failure-invoking-your-skill-with-3.html

@DavidWells
Copy link
Contributor

Thanks for the report @jloveland do you want submit a PR for this? =)

Do mean https://github.com/serverless/examples/blob/master/aws-node-alexa-skill/handler.js#L15 needs "shouldEndSession": true right?

image

@jloveland
Copy link
Contributor Author

yes sir @DavidWells

I added PR #101 to fix this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants