question

newuser-3f9da3a3-080d-4190-9c3d-c6aeadd83da0 avatar image

Alexa Error “The following directives are not supported: DelegateDirective” after Connections.Response purchaseResult

  • I am using ISP (In skill purchase) and after the whole cycle of purchasing Alexa handle the control back to the skill backend.

  • So I get a Connections.Response with purchaseResult:ACCEPTED

  • Now I send a Delegate Directive to an Intent to collect a number

     return handlerInput.responseBuilder.addDelegateDirective(myVoiceSelectionIntent)        .getResponse();
    
  • Now I got the following error:

      "error": { "type": "INVALID_RESPONSE", 
                 "message": "The following directives are not supported: DelegateDirective"
    

What I tried

  • I added the same code snipped to an other intent of the skill and I get forwarded to the myVoiceSelectionIntent
  • I tried to return speech and prompt as well but same error.

Question

  • Is not possible to use intent chaining and send DelegateDirectives from a Connections.Response with purchaseResult:ACCEPTED?
  • I could not find anything that it's forbidden in the documentation
purchasingdialog directiveask sdkisp
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

Jason@Amazon avatar image
Jason@Amazon answered

This is a current limitation of intent chaining - you won't be able to use it with any Connections.Response request that comes into your skill.

1 comment
10 |5000

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

Ok thanks.

Could the documentation updated for this limitation or is it stated somewhere?

Would be great to know when or if somebody works on this feature.


I thought more people would run into this issue as after a purchase at least some people would need a specific choice afterwards.

(will also update my stackoverflow question with your reply here)

0 Likes 0 ·