Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: resbody is not defined #8

Open
IOhacker opened this issue Nov 15, 2022 · 0 comments
Open

ReferenceError: resbody is not defined #8

IOhacker opened this issue Nov 15, 2022 · 0 comments

Comments

@IOhacker
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant