cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
8149
Views
0
Helpful
1
Replies
Highlighted
Beginner

Jabber Bot SDK developer Guide - example not working

Hi,

 

    I have just tested the simple Jabber Bot that is included as an example in the "Working with the Cisco Jabber Bot SDK" chapter of the Developer Guide (https://developer.cisco.com/docs/jabber-bots/#!cisco-jabber-bot-sdk-developer-guide/working-with-the-cisco-jabber-bot-sdk).

 

    The bot can login and I can even interact with it except if I type "hi", then the bot exists with this error:

 

/usr/lib/node_modules/botkit/lib/Studio.js:832
user: md5(message.user),
^

TypeError: Cannot read property 'user' of undefined
at /usr/lib/node_modules/botkit/lib/Studio.js:832:34
at /usr/lib/node_modules/botkit/lib/CoreBot.js:1409:56
at next (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:82:27)
at Ware.run (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:88:3)
at Object.Botkit.botkit.trigger (/usr/lib/node_modules/botkit/lib/CoreBot.js:1407:45)
at /usr/lib/node_modules/botkit/lib/CoreBot.js:1349:36
at next (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:82:27)
at Ware.run (/usr/lib/node_modules/botkit/node_modules/ware/lib/index.js:88:3)
at Object.<anonymous> (/usr/lib/node_modules/botkit/lib/CoreBot.js:1347:49)
at Object.Botkit.botkit.trigger (/usr/lib/node_modules/botkit/lib/CoreBot.js:1396:47)

 

    Could anyone help me to understand why it fails?

 

Thanks!

fj

1 REPLY 1
Highlighted
Cisco Employee

Thanks for the heads up...it looks like some recent change in Botkit may be causing an issue.  The Jabber Bot engineering team is investigating.

This widget could not be displayed.