我已使用以下网址将聊天机器人集成在角度上
https://github.com/mlabouardy/dialogflow-angular5
并按照https://dzone.com/articles/chatbot-with-angular-5-and-dialogflow的说明进行操作
它在我当地的工作正常 ng serve
在构建并移动到我的服务器后 . 它显示以下错误 .
api.dialogflow.com/v1/query?v=20150910:1 POST
https://api.dialogflow.com/v1/query?v=20150910 403 ()
core.js:1427 ERROR Response {_body: "{"status":{"code":401,"errorType":"unauthorized","…rorDetails":"Authentication parameters missing"}}", status: 403, ok: false, statusText: "OK", headers: Headers, …}
请参阅屏幕截图
因此,我的实时服务器上不显示聊天响应 .
请帮我解决 .