-
Notifications
You must be signed in to change notification settings - Fork 29
Description
I am following this manual https://developer.tiledesk.com/external-chatbot/external-chatbot-tutorials/dialogflow-tutorial-5-graceful-human-handoff when I run the webhook I got the message:
2022-11-15T07:54:45.970346+00:00 app[web.1]: ReferenceError: resbody is not defined
2022-11-15T07:54:45.970348+00:00 app[web.1]: at /app/index.js:197:5
2022-11-15T07:54:45.970349+00:00 app[web.1]: at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
2022-11-15T07:54:45.970349+00:00 app[web.1]: at next (/app/node_modules/express/lib/router/route.js:137:13)
2022-11-15T07:54:45.970350+00:00 app[web.1]: at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3)
2022-11-15T07:54:45.970350+00:00 app[web.1]: at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
2022-11-15T07:54:45.970350+00:00 app[web.1]: at /app/node_modules/express/lib/router/index.js:281:22
2022-11-15T07:54:45.970351+00:00 app[web.1]: at param (/app/node_modules/express/lib/router/index.js:354:14)
2022-11-15T07:54:45.970351+00:00 app[web.1]: at param (/app/node_modules/express/lib/router/index.js:365:14)
2022-11-15T07:54:45.970352+00:00 app[web.1]: at Function.process_params (/app/node_modules/express/lib/router/index.js:410:3)
2022-11-15T07:54:45.970352+00:00 app[web.1]: at next (/app/node_modules/express/lib/router/index.js:275:10)
Which value should be resbody and resbody.token ?