Facing issue while integrating bot with web/mobile client channel

Mitalee,

On the error that you are getting on console, it does not stop any connectivity to bot.

In your case, you are probably serving the index.html as https://localhost:3000. You can try opening the index.html as a file (right click --> open with chrome etc.) and you will not see any error on console.

Reasons for console error while serving a page could be (not limited to) the following:

  1. If you get error on line 2830 of chatWindow.js for initGapi() function, this is only google speech related. You can get rid of this error by making

    isSpeechEnabled: false,
    allowGoogleSpeech: false,

    in index.html
  2. You may get error for missing resources - favicon.ico and libs/img/emojione.sprites.png
    You can feel free to add these resources at the mentioned path and it should work.
  3. Any other error on console - Please deal with the error on a case to case basis.

I hope this answers your question/ concern.

1 Like