question

newuser-d6f24620-328e-4770-b4df-bf97046b6c24 avatar image

Alexa Not Filling All Required Slots

I am having trouble with getting the Alexa simulator to fill all required slots. I have created prompts and utterances for all required slots, yet when I return a dialog directive, Alexa prompts the user for the first required slot, then fails to prompt for additional slots.

This is the code where I return the dialog directive:

if (IsDialogIntentRequest(input))<br>  {<br>  if (IsDialogSequenceComplete(input) == false)<br>  { // delegate to Alexa until dialog is complete<br>  log.LogLine($"Delegate Directive sent");<br>  CreateDelegateResponse(skillResponse);<br>  return skillResponse;<br>  }<br>  }<br>private void CreateDelegateResponse(SkillResponse response)<br>  {<br>  DialogDirective dld = new DialogDirective()<br>  {<br>  type = AlexaConstants.DialogDelegate<br>  };<br>  response.response.directives.Add(dld);<br>  }
alexa skills kitalexa simulator
10 |5000

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

1 Answer

Anand@Amazon avatar image
Anand@Amazon answered

Hello Developer,

Thanks for posting your issues.

Please provide skill id for which you are getting this issue.

2 comments
10 |5000

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

It actually works now, but only on a device, not with the simulator.

0 Likes 0 ·
Anand@Amazon avatar image Anand@Amazon ♦ newuser-d6f24620-328e-4770-b4df-bf97046b6c24 commented ·

Hello Developer,

I am glad that your skill works on device. But if it's not working on simulator then share the cloudwatch logs for further debugging.

0 Likes 0 ·