botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
71 stars 83 forks source link

Smooch Integration Error #1647

Closed devaku closed 1 year ago

devaku commented 2 years ago

Describe the bug Upon successfully connecting to the Smooch Sunshine Conversation API, Botpress throws an error:

[Messaging] app:channels:smooch Error occurred calling route /webhooks/zbot/smooch. TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at SmoochApi.handleRequest (C:\snapshot\messaging\node_modules\@botpress\messaging-channels-legacy\dist\smooch\api.js:52:57) at C:\snapshot\messaging\node_modules\@botpress\messaging-channels-legacy\dist\base\api.js:42:19 at processTicksAndRejections (node:internal/process/task_queues:96:5)

To Reproduce Just connect to the Smooch Sunshine Conversation API. This problem seems to persist regardless of any of the channels that are available for that particular service.

Expected behavior I was able to test this integration perfectly fine a week ago. My hypothesis is that Smooch API changed updated something and Botpress has not reflected this change thus resulting in the error.

Environment (please complete the following information):

Adilmar commented 2 years ago

Its same problem ....

davidvitora commented 1 year ago

This issue should probably be created in the new https://github.com/botpress/messaging repository.