验证错误

时间:2017-09-20 09:19:38

标签: actions-on-google

运行事务更新的代码时出错。我该怎么办?

  

MalformedResponse   expected_inputs [0] .possible_intents [0] .input_value_data.transaction_decision_value_spec.proposed_order.cart.line_items [0] .sub_lines [0] .line_items [1] .sub_lines [0] .sub_lines [0]:   订单项的注释不得超过$ 0。

当说“确认交易”时我得到回应

{
  "audioResponse": "//NExAASWo...",
  "conversationToken": "CiZDIzU5Y2...",
  "expectUserResponse": true,
  "response": "Here's your order summary. Your total is $38.99 . Ready to place the order?",
  "visualResponse": {
    "agentLogoUrl": "",
    "visualElements": []
  }
}

你能回答我更多吗?

当我想收到送货地址时,我要求“获取地址” 我收到回复“您的Google帐户缺少送货地址。您可以添加地址,然后再回来再试一次。”

{
  "audioResponse": "//NExAAQyD...",
  "conversationToken": "GhZzaW11bG...",
  "response": "Your Google Account is missing a delivery address. You can add an address, then come back and try again.",
  "visualResponse": {
    "agentLogoUrl": "",
    "visualElements": []
  }
}

0 个答案:

没有答案