亚马逊Lex fulfillmentActivity.codeHook

时间:2017-04-26 21:46:51

标签: aws-lambda amazon-lex

我正在关注Amazon Lex文档中提供的本教程: http://docs.aws.amazon.com/lex/latest/dg/getting-started-ex2.html

当我最终保存我的意图时,我收到此错误: The value ‘null’ specified for ‘fulfillmentActivity.codeHook.uri’ is invalid. Member must not be null

如果有人可以帮我解决这个问题,我将不胜感激:)谢谢!

2 个答案:

答案 0 :(得分:2)

您在创建意图时错过了此步骤:Fulfillment – Leave Return parameters to client selected. We're not using a Lambda function in this example.

答案 1 :(得分:0)

如果你正在使用你的机器人的lambda函数,那么你必须将它与你的机器人集成,否则只需检查返回参数到客户端,这应该可以正常工作。