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

Does anyone encounter this error? fbtraceId": "AjiftY1LUkZGHyPKX3GbopA #960

Open
neziarxdxd opened this issue Dec 9, 2021 · 1 comment

Comments

@neziarxdxd
Copy link

× Failed to set Messenger webhook
× status: 400
× data: {
"error": {
"message": "(#2201) response does not match challenge, expected value="140546364", received="\u003C!DOCTYPE html>\n\u003Ch..."",
"type": "OAuthException",
"code": 2201,
"fbtraceId": "AjiftY1LUkZGHyPKX3GbopA"
}
}

@theGBguy
Copy link

theGBguy commented Jun 6, 2022

I am encountering this problem as well. All the access tokens and ids seems to be correctly placed.
EDIT: I successfully set up the messenger hook just now.
Steps:

  1. Create a free ngrok account.
  2. Setup the ngrok cli.
  3. Run the bot in live mode; npm start
  4. Host the localpage manually using ngrok; ngrok http <port>. (use the same port where live server is running)
  5. Then run npx bottender messenger webhook set

That error occurred when I run npm run dev where the server will be hosted automatically by ngrok but probably in unknown account.

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

2 participants