botmasterai / botmaster-session-ware

configurable botmaster session ware
MIT License
1 stars 0 forks source link

TypeError: Cannot read property 'id' of undefined #1

Open chyuibacca opened 7 years ago

chyuibacca commented 7 years ago

I have created a simple bot using the botmaster framework (using a Telegram bot type) and added botmaster-session-ware to store a simple count attribute across requests.

The incoming ware appears to create the session OK, but the outgoing ware throws a TypeError with the message: "Cannot read property 'id' of undefined"

I am using:

Bot source files and logging trace attached. source.zip botmaster-session-ware-typeerror.txt

avaleroavm commented 6 years ago

I have the same problem. Could you solve it?

Thanks! :)

jwickens commented 6 years ago

It sounds like the recipient or bot id is missing in your setup. how are you using session ware?