I am getting this error message a lot today. My bot is processing the request to the API and receiving the result which I can see in the preceding logs, but when it tries to actually send the message in the chat, it encounters this error.
Error sending outgoing message X [Error]: An unknown error occurred
at Mr (/var/task/customer_code.js:8:28733)
at Ot (/var/task/customer_code.js:8:28510)
at w (/var/task/customer_code.js:8:67935)
at /var/task/customer_code.js:8:62835
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.flushSendMessages (/var/task/customer_code.js:1236:5026)
at async runDialogEngine (/var/task/customer_code.js:1257:3698)
at async startEventProcessing (/var/task/customer_code.js:1257:3278)
at async Object.onEvent (/var/task/customer_code.js:1257:8054)
at async Object.onMessage (/var/task/customer_code.js:1257:7687) {
isApiError: true,
code: 500,
description: 'An unknown error occurred',
type: 'Unknown',
error: undefined
}
Does this have anything to do with my end? Or is this just a problem with the Botpress server?