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

Error: Couldn't validate the request signature. #67

Closed
atomicfruitcake opened this issue Aug 22, 2017 · 3 comments
Closed

Error: Couldn't validate the request signature. #67

atomicfruitcake opened this issue Aug 22, 2017 · 3 comments

Comments

@atomicfruitcake
Copy link

With no changes to our codebase, we are now seeing this error when we attempt to send messages. The bot webhook successfully validates with Facebook. Could this is an issue with the facebook api? We are using version 2.9

data:    app.js:19176 - Error: Couldn't validate the request signature.
data:    app.js:19176 -     at BootBot._verifyRequestSignature (/ahs/bot/node_modules/bootbot/lib/BootBot.js:455:15)
data:    app.js:19176 -     at /ahs/bot/node_modules/body-parser/lib/read.js:100:9
data:    app.js:19176 -     at invokeCallback (/ahs/bot/node_modules/raw-body/index.js:262:16)
data:    app.js:19176 -     at done (/ahs/bot/node_modules/raw-body/index.js:251:7)
data:    app.js:19176 -     at IncomingMessage.onEnd (/ahs/bot/node_modules/raw-body/index.js:307:7)
data:    app.js:19176 -     at emitNone (events.js:105:13)
data:    app.js:19176 -     at IncomingMessage.emit (events.js:207:7)
data:    app.js:19176 -     at endReadableNT (_stream_readable.js:1047:12)
@sotirelisc
Copy link

Having the same issue as of today!

@Juan-Pieterse
Copy link

Guys. I got the same issue. After about 2 days of scratching my head my genius boss pointed out that I got the appSecret variable wrong. DOUBLE CHECK YOUR APP SECRET in the code. Sorted it out nicely!

@mraaroncruz
Copy link
Collaborator

I'm going to close this as OP hasn't responded and it looks like we have a solution.
I will also add an issue for adding a troubleshooting section from @Juan-Pieterse's comment.

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

4 participants