Hi! I have created my chatbot based on this code, and it has worked very well! Until now...
When I update my bot, I get the following error in heroku logs:
"The 'send' action is missing".
I have never had a 'send' action. My actions are "say", "merge" and "error".
I also got an authentication error which was solved by changing:
"return new Wit(Config.WIT_TOKEN, actions);"
to
"return new Wit({ accessToken: Config.WIT_TOKEN, actions: actions });"
Is anyone else familiar with this? It has to be a problem with the version I'm using, but I have tried to fix this all day.
Hi! I have created my chatbot based on this code, and it has worked very well! Until now... When I update my bot, I get the following error in heroku logs: "The 'send' action is missing".
I have never had a 'send' action. My actions are "say", "merge" and "error".
I also got an authentication error which was solved by changing: "return new Wit(Config.WIT_TOKEN, actions);" to "return new Wit({ accessToken: Config.WIT_TOKEN, actions: actions });"
Is anyone else familiar with this? It has to be a problem with the version I'm using, but I have tried to fix this all day.
Thanks in advance!