Amazon is telling "submission has failed the certification process".
If I repromt the same text in speak and repromt
.speak(speechOutput)
.reprompt(speechOutput)
After the skill completes a task, the session remains open with no prompt to the user. The skill must close the session after fulfilling requests if it does not prompt the user for any input.
Steps To Reproduce:
User: "Alexa, öffne blick analytics"
Skill: "Blick Analytics gestartet. Du bist nicht authentifiziert. Nenne die Parole!"
User: "XXX"
Skill: "Parole richtig, du bist authentifiziert."
User: "wieviele besucher hatten wir gestern"
Skill: "Gestern hatten wir X Millionen Nutzer. Juhuu, das ist X Prozent über dem Tagesziel." and the session remains open.
Please ensure that the session only remains open when the user is prompted for input.
If I delete the repromt function it fails with
The skill prompts users for an input then immediately closes the session. Make sure the session remains open anytime users are prompted for inputs.
Steps To Reproduce:
User: "Alexa, starte blick analytics"
Skill: "Blick Analytics gestartet. Los gehts."
User: "zahlen gestern"
Skill: "Wir hatten X Millionen Seitenaufrufe. Das ist X Prozent vom Tagesziel entfernt mit dem wir Nummer 1 werden. Sag WEITER für mehr."
And the session gets closed.
What's the proper output for keeping the session open?