Skip to content

Unable to handoff from chatbot to agent #4

@IOhacker

Description

@IOhacker

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions