wit-ai/node-wit

Error: the 'send' action is missing

Rolfjdra opened this issue · 0 comments

Hi,

I have built a chatbot with heroku and FB-messenger, but something must have changed, because when I try to update my chatbot I get the error:
"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!