AngularFirebase / 59-angular-chatbot-dialogflow

Build a Chatbot with Angular https://angularfirebase.com/lessons/chatbot-in-angular-with-dialogflow-api-ai/
MIT License
58 stars 60 forks source link

Empty response #7

Open shreyashSpark opened 4 years ago

shreyashSpark commented 4 years ago

Sometimes, empty responses are being displayed on screen. Agent works completely fine on dialogflow but is problematic here.

Also the intents move forward properly. So in a directional flow conversation, I reply with intended output, it moves to next steps properly. Just not displaying messages.

Screenshot (340)

Pragya007 commented 4 years ago

@shreyashSpark hey i am not getting responses back, i changed private key for client access token...

Pragya007 commented 4 years ago
Error
    at ApiAiRequestError.ApiAiBaseError [as constructor] (Errors.ts:7)
    at new ApiAiRequestError (Errors.ts:25)
    at TextRequest.webpackJsonp.../../../../api-ai-javascript/ts/Request/Request.ts.Request.handleError (Request.ts:23)
    at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:392)
    at Object.onInvoke (core.es5.js:3890)
    at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:391)
    at Zone.webpackJsonp.../../../../zone.js/dist/zone.js.Zone.run (zone.js:142)
    at zone.js:873
    at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:425)
    at Object.onInvokeTask (core.es5.js:3881)
    at resolvePromise (zone.js:824)
    at resolvePromise (zone.js:795)
    at zone.js:873
    at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:425)
    at Object.onInvokeTask (core.es5.js:3881)
    at ZoneDelegate.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:424)
    at Zone.webpackJsonp.../../../../zone.js/dist/zone.js.Zone.runTask (zone.js:192)
    at drainMicroTaskQueue (zone.js:602)
    at ZoneTask.webpackJsonp.../../../../zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:503)
    at invokeTask (zone.js:1540)

Getting this error @codediodeio @radi-cho @angular-cli