Does anyone encounter this error? fbtraceId": "AjiftY1LUkZGHyPKX3GbopA
neziarxdxd opened this issue · 1 comments
neziarxdxd commented
× 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 commented
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:
- Create a free ngrok account.
- Setup the ngrok cli.
- Run the bot in live mode;
npm start
- Host the localpage manually using ngrok;
ngrok http <port>.
(use the same port where live server is running) - 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.