question

Alex Dunn avatar image
Alex Dunn asked ·

Custom Alexa Skills leaving skills or sending reprompt to responses

Hey everyone!


I've been seeing some really strange behaviors lately with custom Alexa skills. With certain user responses (primarily short ones), the skill will abort without sending a request to the fulfillment endpoint. For prompts that have a reprompt in the response body, instead of ending the session, it just says the reprompt in response to the user. This issue is even more clear when using Dialog.UpdateDynamicEntities directives. Here's an example dialog:


> Launch Request

Simulator/Device: Hello! Say a color like red, green, or blue

> endSession = false

> Dialog.UpdateDynamicEntities adds "red", "green", "blue", "redish", "ocean", and a couple others as REPLACE values for DynamicColorSlot

> no reprompt


User: "Red"


Simulator/Device: <Audio only response>

> no request sent to lambda/endpoint


The intent looks something like this:


Name: ColorIntent

Slots: DynamicColorSlot

Utterances: ["{DynamicColorSlot}"]


If I return a reprompt with the LaunchRequest response, instead of getting <Audio only response> I get the reprompt message.


Note: this happens even without using dynamic slot values. Whether it matches an intent or not, it does not send a fallback intent or a matched intent. Just bombs. This also started happening to skills that worked previously.


Whatever guidance you have to work around this would be great. Anyone else seeing this?


Thanks,


Alex Dunn

Director and Principal Architect

Voicify

alexa skills kitskilldynamic entities
1 comment
10 |2000 characters needed characters left characters exceeded

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

Update: It seems to work about 80% of the time on a real device (tested on echo show 2, show 5, and echo 2). But fails every single time on simulator.


Weirder thing is that in the device tests, the phrases that fail cause the error/exit sound, but the mic stays open. If you keep repeating the same phrase that broke it, it plays the broken sound over and over again with no reprompt or phrase and keeps the mic open each time.


0 Likes 0 ·

1 Answer

KirkC@Amazon avatar image
KirkC@Amazon answered ·

Hi @Alex Dunn. It looks like you also reached out to us through our e-mail channel. If you haven't heard back already please keep an eye out for our response there.

10 |2000 characters needed characters left characters exceeded

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