0

https://dialogflow.com/docs/tutorial-build-an-agent/create-fulfillment-using-webhook

我想试试这个例子

但是在我按照此页面上的步骤操作之后

它给我

Webhook 调用失败。错误:500 内部服务器错误

{
  "responseId": "a89123c6-42e5-45fa-ab2d-153a9d7e3692",
  "queryResult": {
    "queryText": "I need to make an appointment at 3 PM today.",
    "parameters": {
      "time": "",
      "date": ""
    },
    "allRequiredParamsPresent": true,
    "fulfillmentMessages": [
      {
        "text": {
          "text": [
            ""
          ]
        }
      }
    ],
    "intent": {
      "name": "projects/newagent-b231a/agent/intents/f6477cf2-cd73-4dc3-a8bd-614d45998754",
      "displayName": "Make Appointment"
    },
    "intentDetectionConfidence": 1,
    "diagnosticInfo": {
      "webhook_latency_ms": 142
    },
    "languageCode": "zh-tw"
  },
  "webhookStatus": {
    "code": 13,
    "message": "Webhook call failed. Error: 500 Internal Server Error"
  }
}

amd 我检查 firebase 上的日志 火力基地错误日志

如何解决?

4

1 回答 1

1

我遇到了类似的错误。在我更新了 npm 之后。解决了。

尝试npm install

于 2019-05-29T13:16:41.080 回答