Webhook呼叫失败。错误:不可用。对话流

时间:2020-09-23 04:24:23

标签: dialogflow-es dialogflow-es-fulfillment

我对dialogflow和出现的诊断信息有疑问:

{
  "responseId": "7cc5f6f7-c15c-43b4-99b8-3677b463d737-47692ce7",
  "queryResult": {
    "queryText": "081908190819",
    "parameters": {
      "phone": 81908190819
    },
    "allRequiredParamsPresent": true,
    "fulfillmentMessages": [
      {
        "text": {
          "text": [
            ""
          ]
        }
      }
    ],
    "intent": {
      "name": "projects/bookingteetime-lqsjjx/agent/intents/b967bab7-a6e1-499f-bbce-ba665b23c004",
      "displayName": "BookingConfirmation"
    },
    "intentDetectionConfidence": 1,
    "diagnosticInfo": {
      "webhook_latency_ms": 3956
    },
    "languageCode": "en"
  },
  "webhookStatus": {
    "code": 14,
    "message": "Webhook call failed. Error: UNAVAILABLE."
  }
}

2 个答案:

答案 0 :(得分:0)

检查您的日志。只要您的履行代码中有问题,就会出现“错误不可用”。使用日志并尝试捕获以找出问题所在。

答案 1 :(得分:0)

我花了很多时间为这个问题寻找合理的答案,最后我找到了解决方案。为了帮助期货患者,我发布了我发现的解决我问题的方法。

将您的 dialogflow-fullfilment 的版本从“0.5.0”改为“0.6.1”这解决了我的问题。

enter image description here