Integration logs errors with status code 502 / no messages from blocks other than message (linked problems?)

Hello. I’m testing external integrations and as a first integration I chose Slack.
Integrations somehow works but in console I see errors accompanied with each POST request. Is it something wrong in Botpress configuration, on the Slack end or somewhere else?

I said “somehow” because when I chat with Botpress through Slack, I only see texts from “Send message” blocks. If there is message in for example “Capture information” block, Slack do not show it but input works.

Are those two problems linked together?

Hi @lwollnikowski ,

Yes, we got some reports about the Slack channel, specifically the “Capture Information” card. Our team is working on fixing it as we speak.

I will review the reported issues and make sure your issues are covered.

Thanks for the feedback :slightly_smiling_face:

I have no error with Webchat.
I have the same problem with the TEAMS integration. I have an error and I don’t understand why.

Error sending outgoing message Mi [Error]: HTTP request to POST failed with status code 502
at zS (/var/task/customer_code.js:8:54857)
at sh (/var/task/customer_code.js:8:54643)
at Be (/var/task/customer_code.js:8:60148)
at /var/task/customer_code.js:8:56101
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.flushSendMessages (/var/task/customer_code.js:51:4032)
at async dL (/var/task/customer_code.js:63:6494)
at async EL.onEvent (/var/task/customer_code.js:63:10876)
at async CL (/var/task/customer_code.js:486:2441)
at async Runtime.c [as handler] (/var/task/index.js:1:875) {
code: 500,
description: ‘An unknown error occurred’,
type: ‘Unknown’,
error: undefined

Hi @christophe.thomas ,

Yes, we got that reported also, and the team is working on it as we speak. I will notify you as soon as it is fixed.

Hi, any update about this issue, i still getting the same error in the console.

Best regards


Hi ,

The team is still working on it; it should be fixed very soon.

I have added your e-mail and will notify you as soon as it is fixed.

Hey guys, @christophe.thomas @lwollnikowski
Can you check if this issue is fixed or not?

@bassam.tantawi Unfortunately no.

Hey @lwollnikowski ,

The team is looking into it and will fix it very soon :slight_smile:

My mistake sorry I got confused between your issue on Slack, and a similar issue in WhatsApp.

Hey @lwollnikowski,

Is it still happening?

Hello @bassam.tantawi,
it doesn’t show errors in logs anymore, so it is fixed.

Messages from Capture Info blocks also shows correctly in Slack conversations.

Good job, thanks for help! Question can be marked as resolved.

1 Like