Messenger Connection Failing BP Server 11.6.3

Hie folks,

I am trying to connect my bot to Facebook and I have followed all steps in readme. Also on messenger I have webhook, page access token and app secret all configured. I used the webhook url generated on cli line 19 (see below)

$ ./bp
14:52:30.536 Launcher ========================================
                                  Botpress Server
                                   Version 11.6.3
                                      OS win32
                      ========================================
14:52:32.252 Launcher Using 9 modules
                      ? MODULES_ROOT/analytics
                      ? MODULES_ROOT/basic-skills
                      ? MODULES_ROOT/builtin
                      ? MODULES_ROOT/channel-messenger
                      ? MODULES_ROOT/channel-telegram
                      ? MODULES_ROOT/channel-web
                      ? MODULES_ROOT/hitl
                      ? MODULES_ROOT/nlu
                      ? MODULES_ROOT/qna
14:52:32.810 ModuleLoader File 00_create_shortlink.js has been changed manually, skipping...
14:52:32.945 Server Loaded 9 modules
14:52:32.987 CMS Loaded 6 content types
14:52:33.137 Mod[channel-messenger] Messenger Webhook URL is https://1d902fa8.ngrok.io/api/v1/bots/___/mod/channel-messenger/webhook
14:52:33.237 Server Some unlinked bots exist on your server, to enable them add them to workspaces.json [dialogflow-test]
14:52:34.002 BotService Cannot mount bot "cs-bot". Make sure it exists on the filesytem or the database.
HTTP (get) URL https://graph.facebook.com/v3.2/me/
Params ({"access_token":"EAA################2ZCr4AyJNvXTk5MMGq21Xp084bmKvdTuKvptwiv2KV5Hz5q0CTVRK3wtpugiwDTaTfBxIBZBihEpQ6Aw3bJv9ZAIISMJUcrc7a6ZABfIsOnPbI05cyfnVfRGM0qvQrjAyaHYZCbWlTjCC8QZA0ZA8IgeDwzoM6ZCrPeOA4U"})
Received "(#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved b (...)"
Request failed with status code 400
STACK TRACE
Error: Request failed with status code 400
    at createError (C:\Users\micheal mukwekezeke\Downloads\botpress-v11_6_3-win-x64 (1)\modules\.cache\module__ea30c96f3c4639d27cd59e69375d98924351b6c9138b19a0064582ce9175ff67\node_production_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\micheal mukwekezeke\Downloads\botpress-v11_6_3-win-x64 (1)\modules\.cache\module__ea30c96f3c4639d27cd59e69375d98924351b6c9138b19a0064582ce9175ff67\node_production_modules\axios\lib\core\settle.js:18:12)
    at IncomingMessage.handleStreamEnd (C:\Users\micheal mukwekezeke\Downloads\botpress-v11_6_3-win-x64 (1)\modules\.cache\module__ea30c96f3c4639d27cd59e69375d98924351b6c9138b19a0064582ce9175ff67\node_production_modules\axios\lib\adapters\http.js:201:11)
    at IncomingMessage.emit (events.js:187:15)
    at IncomingMessage.EventEmitter.emit (domain.js:442:20)
    at endReadableNT (_stream_readable.js:1081:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
14:52:34.007 Server Started in 1754ms
14:52:34.008 Launcher Botpress is ready at http://localhost:3000/

My channel-messenger.json in global/bots/{botID}/config looks like

{
  "$schema": "../../../assets/modules/channel-messenger/config.schema.json",
  "enabled": true,
  "persistentMenu": [],
  "appSecret": "aoyuhjfdakk79436a2f79d8247ccfb",
  "verifyToken": "ufehudiojckdklifdocjkie",
  "accessToken": "EAA#################2ZCr4AyJNvXTk5MMGq21Xp084bmKvdTuKvptwiv2KV5Hz5q0CTVRK3wtpugiwDTaTfBxIBZBihEpQ6Aw3bJv9ZAIISMJUcrc7a6ZABfIsOnPbI05cyfnVfRGM0qvQrjAyaHYZCbWlTjCC8QZA0ZA8IgeDwzoM6ZCrPeOA4U"
}

My channel-messenger.json in global/config looks like

{
  "$schema": "../../../assets/modules/channel-messenger/config.schema.json",
  "enabled": true,
  "persistentMenu": [],
  "appSecret": "aoyuhjfdakk79436a2f79d8247ccfb",
  "verifyToken": "ufehudiojckdklifdocjkie",
  "accessToken": "EAA#################2ZCr4AyJNvXTk5MMGq21Xp084bmKvdTuKvptwiv2KV5Hz5q0CTVRK3wtpugiwDTaTfBxIBZBihEpQ6Aw3bJv9ZAIISMJUcrc7a6ZABfIsOnPbI05cyfnVfRGM0qvQrjAyaHYZCbWlTjCC8QZA0ZA8IgeDwzoM6ZCrPeOA4U"
}

Where am I going wrong?

Just tested 11.7.3 and works fine, do u still have the issue?

hello , i aslo face this error ! You already fix it . What is the problem ? please let’s me know ! THank YOu

Yerp solved it. Just give your bot an internet connection. Jump onto engine x, then get someone to use the bot and inspect the traffic. Make sure the traffic identified is whitelisted when you harden your internet connection and you are good to go.

Sorry I meant NGINX. Voice typing :grin:. Or you can simply make sure you have https and expose only the port over which you are serving botpress.If you are using ngrok or similar make sure you choose the https link because facebook will throw http

Thank you so much!
and i also have another problem that PersistentMenu does not shown in my messenger bot! can you help me again pls !