bottender icon indicating copy to clipboard operation
bottender copied to clipboard

Does anyone encounter this error? fbtraceId": "AjiftY1LUkZGHyPKX3GbopA

Open neziarxdxd opened this issue 3 years ago • 1 comments

× 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" } }

neziarxdxd avatar Dec 09 '21 11:12 neziarxdxd

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.

theGBguy avatar Jun 06 '22 03:06 theGBguy