alexa-samples / skill-sample-nodejs-adventure-game

This tool provides an easy to use front-end that allows developers to instantly deploy code for your story, or use the generated code as a starting point for more complex projects.
Apache License 2.0
510 stars 218 forks source link

Alexa will not register correct commands and says "My apologies, please repeat your command" #48

Open ryanapolinar opened 6 years ago

ryanapolinar commented 6 years ago

I am facing the same issue as seen in issue #35 and issue #33. However, my utterances are all lowercase. Basically, after going down a few branches, Alexa will not register your commands that go down onto more nodes, and she will only say "My apologies, please repeat your command."

Expected behavior

After saying "run" or "hold", my skill will continue down the path.

Actual behavior

I say "run" or "hold", but Alexa only says "My apologies, please repeat your command." Here is a zip file of everything in my /src/skill/ directory. skill.zip

Screenshots

The node where Alexa stops registering commands failure

The utterance for the next node run

yamilethmedina commented 6 years ago

Have you been able to check your Cloudwatch logs for the function to see if Alexa is recognizing the intent properly? It could be a DynamoDB issue that's preventing Alexa from saving state and therefore recognizing what it should do.

Those are good first steps, but i'm also having the same issue even after fixing those things. Those things might solve the problem for you, though.

callamfryunit11 commented 6 years ago

Did you ever come up with a solution to this? I'm having the same issue (all utterences are lowercase) and I even changed them all to be completely unique but I just cant progress at a certain point

joesaundersak commented 6 years ago

I was having this same issue... Verified Alexa was recognizing intents correctly via CloudWatch and ensured that it was not an issue with DynamoDB, but still was not working. I reviewed everything again and realized that my utterances were in fact capitalized. I made everything lowercase and it is working now.

samdobson commented 6 years ago

As well as the points mentioned above, the other thing to check is that you have copied and pasted both the sample utterances from src/skill/models/utterances.txt and intent schema from src/skill/models/intentSchema.json to the appropriate places in the Developer Console (remembering that this manual step is necessary after every change to your story!)