tiledesk-chatbot icon indicating copy to clipboard operation
tiledesk-chatbot copied to clipboard

Unable to handoff from chatbot to agent

Open IOhacker opened this issue 2 years ago • 0 comments

Using the latest version when using dialogflow we set the special word \agent in the text response but we get the following error:

tiledesk-server | ...DirMoveToAgent tiledesk-server | (node:19) UnhandledPromiseRejectionWarning: Error: depId can NOT be null. tiledesk-server | at TiledeskClient.agent (/usr/src/app/node_modules/@tiledesk/tiledesk-tybot-connector/node_modules/@tiledesk/tiledesk-client/index.js:1138:13) tiledesk-server | at DirMoveToAgent.go (/usr/src/app/node_modules/@tiledesk/tiledesk-tybot-connector/tiledeskChatbotPlugs/directives/DirMoveToAgent.js:90:23) tiledesk-server | at processTicksAndRejections (internal/process/task_queues.js:97:5) tiledesk-server | (node:19) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 36)

IOhacker avatar Mar 10 '23 05:03 IOhacker