Getting error on vonage to bot press cloud API on even on vonage sandbox

The error as below:-

Error sending outgoing message X [Error]: Request failed with status code 502
at Dr (/var/task/customer_code.js:8:27754)
at Ut (/var/task/customer_code.js:8:27534)
at w (/var/task/customer_code.js:8:62102)
at /var/task/customer_code.js:8:57832
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.flushSendMessages (/var/task/customer_code.js:54:4540)
at async runDialogEngine (/var/task/customer_code.js:66:8265)
at async startEventProcessing (/var/task/customer_code.js:66:7852)
at async Object.onEvent (/var/task/customer_code.js:150:4898)
at async handler (/var/task/customer_code.js:423:3356) {
isApiError: true,
code: 500,
description: ‘An unknown error occurred’,
type: ‘Unknown’,
error: undefined

Anyone has this issue?

Nevermind botpress i wrote my own code:-

anyone that need helps are welcome to git clone this:-