Certification failed for chocolate slot value and more

Sorry, i should have posted here, i do prefer FB to be honest but if its required then so be it :slight_smile:
I hope this post does not turn into a mess, i couldnt find a tag for code for the json code,
I will also start another thread for the other issue as this is a mess as it is lol
Ok, heres the post from FB

I just got refused for the word chocolate, there’s no way I would have added that, ever… ! and, I can’t even find it?? got me baffled to say the least lol not even sure why all those hey’s and suprecalafragalistic… lol

I have included the json!

Common issues observed on all Alexa devices

  1. When invoking one or more of the intent(s) with an invalid or an empty slot value provided for one of the slots, the skill returns an error or irrelevant response.

Issue: [StoryFlowIntent] Intent, [content] Slot and [chocolate] Slot Value

Steps To Reproduce:

User:“Alexa, open current conditions”

Skill:“Welcome to Breckland Weather, , say help! or say your command, now!”

User:"{chocolate}"

Skill:“Goodbye !” and the session gets closed.

Deffo cannot see chocolate, its a weather skill, not a sweet shop :joy::rofl: i do however see a load of nonsense, see 2nd image please !

Drag and drop for the images didnt work, had to do it old skool :smiley: also it wouldnt let me post the 2 images so hoping it will let me add it in a comment, fingers crossed

Blockquote
{
“interactionModel”: {
“languageModel”: {
“invocationName”: “current conditions”,
“intents”: [
{
“name”: “AMAZON.HelpIntent”,
“samples”: []
},
{
“name”: “AMAZON.StopIntent”,
“samples”: []
},
{
“name”: “AMAZON.CancelIntent”,
“samples”: []
},
{
“name”: “AMAZON.YesIntent”,
“samples”: [
“yes”
]
},
{
“name”: “AMAZON.NoIntent”,
“samples”: [
“no”
]
},
{
“name”: “AMAZON.ResumeIntent”,
“samples”: []
},
{
“name”: “AMAZON.PauseIntent”,
“samples”: []
},
{
“name”: “StoryFlowIntent”,
“slots”: [
{
“name”: “content”,
“type”: “Content”
}
],
“samples”: [
“{content}”
]
},
{
“name”: “AMAZON.NavigateHomeIntent”,
“samples”: []
}
],
“types”: [
{
“name”: “Content”,
“values”: [
{
“name”: {
“value”: “whats the temperature”
}
},
{
“name”: {
“value”: “what is the temperature”
}
},
{
“name”: {
“value”: “whats the temp”
}
},
{
“name”: {
“value”: “what is the temp”
}
},
{
“name”: {
“value”: “temp”
}
},
{
“name”: {
“value”: “how warm is it”
}
},
{
“name”: {
“value”: “is it hot”
}
},
{
“name”: {
“value”: “how cold is it”
}
},
{
“name”: {
“value”: “is it cold”
}
},
{
“name”: {
“value”: “what is the humidity”
}
},
{
“name”: {
“value”: “whats the humidity”
}
},
{
“name”: {
“value”: “humidity”
}
},
{
“name”: {
“value”: “how humid is it”
}
},
{
“name”: {
“value”: “is it humid”
}
},
{
“name”: {
“value”: “hum”
}
},
{
“name”: {
“value”: “whats the dewpoint”
}
},
{
“name”: {
“value”: “dewpoint”
}
},
{
“name”: {
“value”: “dew”
}
},
{
“name”: {
“value”: “whats the wind speed”
}
},
{
“name”: {
“value”: “what is the windspeed”
}
},
{
“name”: {
“value”: “how fast is the windspeed”
}
},
{
“name”: {
“value”: “whats the beaufort scale”
}
},
{
“name”: {
“value”: “whats the beaufort”
}
},
{
“name”: {
“value”: “beaufort”
}
},
{
“name”: {
“value”: “windspeed”
}
},
{
“name”: {
“value”: “wind”
}
},
{
“name”: {
“value”: “whats the windchill”
}
},
{
“name”: {
“value”: “what is the windchill”
}
},
{
“name”: {
“value”: “windchill”
}
},
{
“name”: {
“value”: “whats it feel like”
}
},
{
“name”: {
“value”: “what does it feel like”
}
},
{
“name”: {
“value”: “winch”
}
},
{
“name”: {
“value”: “how much rain today”
}
},
{
“name”: {
“value”: “how much rain”
}
},
{
“name”: {
“value”: “how much rain have we had”
}
},
{
“name”: {
“value”: “rain today”
}
},
{
“name”: {
“value”: “any rain”
}
},
{
“name”: {
“value”: “rain”
}
},
{
“name”: {
“value”: “did it rain today”
}
},
{
“name”: {
“value”: “todays rain”
}
},
{
“name”: {
“value”: “whats the uv”
}
},
{
“name”: {
“value”: “what is the uv”
}
},
{
“name”: {
“value”: “how high is the uv”
}
},
{
“name”: {
“value”: “uv”
}
},
{
“name”: {
“value”: “burn time”
}
},
{
“name”: {
“value”: “whats the cloud conditions”
}
},
{
“name”: {
“value”: “what is the cloud conditions”
}
},
{
“name”: {
“value”: “what are the cloud conditions”
}
},
{
“name”: {
“value”: “cloud conditions”
}
},
{
“name”: {
“value”: “is it cloudy”
}
},
{
“name”: {
“value”: “is it sunny”
}
},
{
“name”: {
“value”: “cloud”
}
},
{
“name”: {
“value”: “whats the barometer”
}
},
{
“name”: {
“value”: “what is the barometer”
}
},
{
“name”: {
“value”: “barometer”
}
},
{
“name”: {
“value”: “baro”
}
},
{
“name”: {
“value”: “pressure”
}
},
{
“name”: {
“value”: “whats the fire index”
}
},
{
“name”: {
“value”: “what is the fire index”
}
},
{
“name”: {
“value”: “fire index”
}
},
{
“name”: {
“value”: “chandler index”
}
},
{
“name”: {
“value”: “fire”
}
},
{
“name”: {
“value”: “whats the leaf wetness”
}
},
{
“name”: {
“value”: “what is the leaf wetness”
}
},
{
“name”: {
“value”: “leaf wetness”
}
},
{
“name”: {
“value”: “leaf”
}
},
{
“name”: {
“value”: “what is the forecast”
}
},
{
“name”: {
“value”: “whats the forecast”
}
},
{
“name”: {
“value”: “forecast”
}
},
{
“name”: {
“value”: “exit”
}
},
{
“name”: {
“value”: “never mid”
}
},
{
“name”: {
“value”: “im done”
}
},
{
“name”: {
“value”: “finish”
}
},
{
“name”: {
“value”: “finished”
}
},
{
“name”: {
“value”: “close”
}
},
{
“name”: {
“value”: “cancel”
}
},
{
“name”: {
“value”: “what is the summary”
}
},
{
“name”: {
“value”: “what’s the summary”
}
},
{
“name”: {
“value”: “summary”
}
},
{
“name”: {
“value”: “is it raining”
}
},
{
“name”: {
“value”: “is it dry”
}
},
{
“name”: {
“value”: “all conditions”
}
},
{
“name”: {
“value”: “all”
}
},
{
“name”: {
“value”: “commands”
}
},
{
“name”: {
“value”: “hey hey”
}
},
{
“name”: {
“value”: “hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “hey hey hey hey hey hey hey hey hey hey hey hey hey”
}
},
{
“name”: {
“value”: “Quick brown fox jumps over the lazy dog”
}
},
{
“name”: {
“value”: “Nymphs blitz quick vex dwarf jog”
}
},
{
“name”: {
“value”: “Cwm fjord veg balks nth pyx quiz”
}
},
{
“name”: {
“value”: “supercalifragilisticexpialidocious”
}
}
]
}
]
}
}
}

Blockquote

This question has been covered on the facebook page so I will summarize it here. To properly manage the else in a choice block you need to use a speak block asking the user to repeat again (the else here is using when Amazon didn’t get what the user says or the matching words / sentence are not present in the choice block). So you can’t just stop the skill if you didn’t get what the user wants, the certification team will not like that :slight_smile:

1 Like

In this screen capture, I’m using a variable to check if it’s the first or second time the user is sent to the ESLE on the choice block. First time, a speak block ask the user to say the command again, the second time, I’ve added another choice block to ask the user if he wants to continue or quit the skill.

2 Likes