Make sure these checkboxes are checked before raising an issue, thank you!
8.910.41.1Today I've updated all the botpress modules, and now the Messenger channel has stopped working. Slack and web work fine, but any attempt of the bot to send to Messenger gives these log messages:
2018-10-09 16:49:21error: Retrying job within Outgoing queue failed 2 times. Abandoning the job.
2018-10-09 16:49:21warn: Outgoing queue failed to process job: Cannot read property 'startsWith' of undefined
2018-10-09 16:49:21warn: Outgoing queue failed to process job: Cannot read property 'startsWith' of undefined
2018-10-09 16:49:21warn: Outgoing queue failed to process job: Cannot read property 'startsWith' of undefined
Looks related to #983.
@mhjb Last version is 10.46.5 but I see you use 10.41.1, please update
Thank you @dmytropanontko. I've been updating my bot's modules with npm update. Now I've updated the global botpress package. How does one 'apply' that botpress update to an exist bot created with an older version of botpress?
Meantime, I've done a separate clean install, and I'm seeing the same error when sending a message to the bot from Messenger:
12:37:59 - warn: Outgoing queue failed to process job: Cannot read property 'startsWith' of undefined
12:37:59 - warn: Outgoing queue failed to process job: Cannot read property 'startsWith' of undefined
12:37:59 - warn: Outgoing queue failed to process job: Cannot read property 'startsWith' of undefined
12:37:59 - error: Retrying job within Outgoing queue failed 2 times. Abandoning the job.
On startup, I also see this error:
Error: An error has been returned by Facebook API.
Status: 403 (Forbidden)
(#200) Requires manage_pages permission to manage the object
at <<PATH_TO_MY_INSTALL>>/node_modules/@botpress/channel-messenger/bin/webpack:/src/messenger.js:594:15
@dmytropanontko I found that once I removed the @botpress/analytics package, the Messenger channel started working again.
@mhjb @botpress/analytics is quite buggy and insufficiently tested
I fixed some errors I ran into in myself here https://github.com/botpress/botpress/pull/891/files#diff-f82d63b0d24f8c9a925905d83931c40d, though your error looks like something different
In your case it is probably Slack channel generating an event that analytics chokes on
Closing this since original issue seems to be resolved.
@epaminond this is still happening by the way 鈥斅爓hen the analytics module is installed, I get those 'startsWith' errors on the Messenger channel. When it isn't, Messenger works fine.
Most helpful comment
@mhjb
@botpress/analyticsis quite buggy and insufficiently testedI fixed some errors I ran into in myself here https://github.com/botpress/botpress/pull/891/files#diff-f82d63b0d24f8c9a925905d83931c40d, though your error looks like something different
In your case it is probably Slack channel generating an event that analytics chokes on