504 Gateway Timeout while submitting FormData through Webhook Channel ( V2)

I’m trying to converse with a Bot using Webhook API but the following request gives a timeout error.

POST
url: https://bots.kore.ai/chatbot/v2/webhook/st-569f15f1-c2f0-5d91-9dd2-5321xxxxxxxx
headers: {
‘Content-Type’: ‘application/json’,
‘Authorization’: ‘bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBJZCI6ImNzLTVhODQyNTUxLWVlNjMtNTY0ZC1hY2JjLTRmNmZkZTI5NmEwMyJ9.ojUHhdxxxxxxxxxxxxxxxxxxxxxx’
}
payload:{
{
“session”: {
“new”: false
},
“message”: {
“type”: “formData”,
“val”: {
“formId”: “frm-f4a95d9a-aeed-xxxx-xxxx-xxxxxacdeefe”,
“data”: [
{
“componentId”: “fct-c54d214e-31fa-xxxx-999d-d6ef669xxxxx”,
“input”: “abc@gmail.com
}

        ]
    }
},
"from": {
    "id": "test1234",
    "userInfo": {
        "firstName": "",
        "lastName": "",
        "email": ""
    }
},
"to": {
    "id": "user1234"
},
"mergeIdentity": true

}
}