messenger-bot-tutorial icon indicating copy to clipboard operation
messenger-bot-tutorial copied to clipboard

The URL couldn't be validated. Response doesn't match challenge

Open niteshghn opened this issue 7 years ago • 6 comments

While creating webhook, I am getting following error. The URL couldn't be validated. Response does not match challenge, expected value="XXXXXX", received="hello world i am...". Can anybody tell why I am getting this. I have setup everything as told.

niteshghn avatar Apr 08 '17 08:04 niteshghn

I am facing the same issue.

ghost avatar Apr 19 '17 19:04 ghost

@Komsomol provided the solution in an earlier thread

"You need to paste in the url with /webhook.

https://this-app-68903.herokuapp.com/webhook/"

I had the same issue until I added /webhook/

iadec avatar Apr 23 '17 10:04 iadec

Has anyone able to fix this ? I am not sure how to get around this.

F-Makhokha avatar Sep 06 '17 08:09 F-Makhokha

I had a similar problem because I forgot to wrap my access token string in '' marks in my .env file - once I put them in, it was fine.

rachaelcodes avatar Feb 18 '18 17:02 rachaelcodes

Same issue , has anyone a solution to fix it ?

KhadijaAmmar avatar Jul 05 '18 10:07 KhadijaAmmar

@iadec's solution worked for me! Make sure you do that + use "my_voice_is_my_password_verify_me" as the token (you can check that in your index.js file)!

steven-tey avatar Apr 19 '20 11:04 steven-tey