I have created a simple dialog task bot and deployed via WEBHOOK channel.
However when I followed the instructions provided in this ‘How To’s’ on integrate synchronous webhook for bot : Using Web Hook as a channel in Synchronous and Asynchronous Integration modes / How to use and integrate Kore API's
I am getting 504 - Gateway Timeout for the very first time, when we hit it with a unique id, but I am get to get the flow correct in the subsequent times.
As I am currently using a middleware to integrate it audiocodes, due to initial gateway timeout, I am either facing errors or taking 25s delay until I get started with the first webook success.
Attached the POST request endpoints and headers for validation.
- Endpoint URL : https://bots.kore.ai/chatbot/hooks/st-061d1f36-e682-5a39-b2da-3349258e6448
- Headers :
Content-Type : application/json
Authorization : Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJrb3Jlc3VwcG9ydEBrb3JlLmNvbSIsImFwcElkIjoiY3MtZGMxOTkzNTAtZWUwMy01NzlhLWJhMzQtZGE3N2NiZmYxMWFjIn0.lEfSp9fbgKbjKTod982qXHdU961xtmch1hHDP1k_DF8
- Body :
“text” : “greet user”
“id” : “q3-407a214a-ab39-5316-a4bc-2dd427c067c4”
Postman Response :
Let me know how to resolve it.
Thanks & Regards