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

Not working #3

Open
JAZzmiX opened this issue Oct 24, 2017 · 2 comments
Open

Not working #3

JAZzmiX opened this issue Oct 24, 2017 · 2 comments

Comments

@JAZzmiX
Copy link

JAZzmiX commented Oct 24, 2017

TypeError: Data must be a string or a buffer
at Hmac.update (crypto.js:97:16)
at MessageValidator._calculateHmacFromMessage (/home/nowuser/src/node_modules/viber-bot/lib/message/message-validator.js:17:54)
at MessageValidator.validateMessage (/home/nowuser/src/node_modules/viber-bot/lib/message/message-validator.js:11:30)
at _app.use (/home/nowuser/src/node_modules/viber-bot/lib/middleware.js:61:32)
at Layer.handle [as handle_request] (/home/nowuser/src/node_modules/viber-bot/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/nowuser/src/node_modules/viber-bot/node_modules/express/lib/router/index.js:317:13)
at /home/nowuser/src/node_modules/viber-bot/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/nowuser/src/node_modules/viber-bot/node_modules/express/lib/router/index.js:335:12)
at next (/home/nowuser/src/node_modules/viber-bot/node_modules/express/lib/router/index.js:275:10)
at textParser (/home/nowuser/src/node_modules/body-parser/lib/types/text.js:69:7)

@r-pr
Copy link

r-pr commented Dec 14, 2017

Had the same error when visiting url of bot, deployed to now.

@915210036
Copy link

Привет

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

3 participants