Open thelazyindian opened 2 months ago
hi @thelazyindian !
I got a fixed version here: https://github.com/dudanogueira/Rocket.Chat.Botpress.OmnichannelConnector.App/releases/tag/0.0.10
The problem is that interactionData has moved places. Not sure if it was a breaking change or not.
Usecase:
Omnichannel chatbot using botpress and rocket chat.
Previous RC version: v6.6.6 Current RC version: v6.12.0
Botpress Connector: https://github.com/mrsric/botpress-connector
Error at line: https://github.com/mrsric/botpress-connector/blob/main/handler/ExecuteLivechatBlockActionHandler.ts#L23
Directly logging
context.getInteractionData()
shows this output https://katb.in/qerixenexuj but while accessing the individual properties in the above line fromcontext.getInteractionData()
, all of them returning null/undefinedThis issue is specifically happening after I updated Rocket Chat to the latest version.
Error:
RocketChat AppsEngine CLI version: 1.11.1
Solutions that I Tested (none worked):
IUIKitLivechatInteractionHandler
inBotpressConnectorApp.ts
@rocket.chat/apps-engine
devDep version from 1.25.0 to 1.44.0 and also downgraded to 1.17.0