I am using Gupshup IDE Bot Builder and Wit.ai for a ChatBot widget on my website. I have made the same bot in FB-messenger without Gupshup (node-js) and it works fine.
When using Gupshup, the bot often gets stuck and does not respond. This also happens when I test it in the Gupshup proxy bot. So it seems like the problem is with the communication between Gupshup and Wit.ai.
Has anyone experienced the same issue? Will it improve if I build my bot outside and link it too Gupshup?
witClient.runActions(sessionId, event.message, witContext, (e, context1) => { if (e) { console.log('Oops! Got an error: ' + e); return; } context.console.log('Yay, got Wit.ai response: ' + JSON.stringify(data)); //context.sendResponse('No keyword found : '+event.message); });
– Pablo DelaNoche Oct 08 '17 at 17:32