Connections.Response purchaseResult 后 Alexa 错误 "The following directives are not supported: DelegateDirective"
Alexa Error "The following directives are not supported: DelegateDirective" after Connections.Response purchaseResult
我正在使用 ISP(在技能购买中),在购买 Alexa 的整个周期后将控制权交还给技能后端。
所以我得到 Connections.Response
和 purchaseResult:ACCEPTED
现在我向 Intent 发送委托指令以收集号码
return handlerInput.responseBuilder
.addDelegateDirective(myVoiceSelectionIntent)
.getResponse();
现在我得到以下错误:
"error": {
"type": "INVALID_RESPONSE",
"message": "The following directives are not supported: DelegateDirective"
我试过的
- 我将相同的代码添加到技能的另一个意图中,然后我被转发到 myVoiceSelectionIntent
- 我也尝试 return 语音和提示,但同样的错误。
问题
- 无法使用意图链接并从
Connections.Response
和 purchaseResult:ACCEPTED
发送 DelegateDirectives?
- 我在 documentation
中找不到任何被禁止的内容
我也在 amazon developer forum 中问过,但没有人回复,在 Connections.Response
之后还不可能
Jason@amazon:
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
我正在使用 ISP(在技能购买中),在购买 Alexa 的整个周期后将控制权交还给技能后端。
所以我得到
Connections.Response
和purchaseResult:ACCEPTED
现在我向 Intent 发送委托指令以收集号码
return handlerInput.responseBuilder .addDelegateDirective(myVoiceSelectionIntent) .getResponse();
现在我得到以下错误:
"error": { "type": "INVALID_RESPONSE", "message": "The following directives are not supported: DelegateDirective"
我试过的
- 我将相同的代码添加到技能的另一个意图中,然后我被转发到 myVoiceSelectionIntent
- 我也尝试 return 语音和提示,但同样的错误。
问题
- 无法使用意图链接并从
Connections.Response
和purchaseResult:ACCEPTED
发送 DelegateDirectives? - 我在 documentation 中找不到任何被禁止的内容
我也在 amazon developer forum 中问过,但没有人回复,在 Connections.Response
之后还不可能Jason@amazon: 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