Error message when sending msg on channel with nodejs sdk
Hi, I get the following error when sending a message on a channel through the node sdk 1.45.1:
TypeError: Cannot read property 'attrs' of undefined
6|annie | at ConversationEventHandler.onHeadlineMessageReceived (/root/nodejs/didatabelgium/node_modules/rainbow-node-sdk/lib/connection/XMPPServiceHandler/conversationEventHandler.js:593:36)
6|annie | at callSubscriberWithDelayedExceptions (/root/nodejs/didatabelgium/node_modules/pubsub-js/src/pubsub.js:62:13)
6|annie | at deliverMessage (/root/nodejs/didatabelgium/node_modules/pubsub-js/src/pubsub.js:83:17)
6|annie | at Timeout.deliverNamespaced [as _onTimeout] (/root/nodejs/didatabelgium/node_modules/pubsub-js/src/pubsub.js:94:13)
6|annie | at ontimeout (timers.js:466:11)
6|annie | at tryOnTimeout (timers.js:304:5)
6|annie | at Timer.listOnTimeout (timers.js:264:5)
This error starts appearing after a while that messages have been sent, and I can't actually correlate why. Is this a RB error or is it something caused by my code?
Please sign in to leave a comment.
Comments
4 comments