jellyfangs/messenger-bot-tutorial

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

niteshghn opened this issue · 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.

I am facing the same issue.

iadec commented

@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/

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

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.

Same issue , has anyone a solution to fix it ?

@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)!