[SOLVED] Unable to set up facebook messenger channel due GDPR

Hi,

I set up a botpress installation and now I try to attach it to a facebook page.
If I write a message to the bot, I don’t get back anything from the bot.

In botpress log I see this message:

Unhandled Rejection
HTTP (post) URL /messages
Params ({“access_token”:"################################################################################"})
Received “(#10) Ezt a műveletet az új európai adatvédelmi szabályok miatt nem lehet elküldeni. További informá (…)”
Request failed with status code 400
STACK TRACE
Error: Request failed with status code 400
at createError (/home/gepetto/botpress/modules/.cache/module__f76ab9c683cc298fa529d7080d7f12fd5324fd19c849f1c47faecbdd7a90c4fb/node_production_modules/axios/lib/core/createError.js:16:15)
at settle (/home/gepetto/botpress/modules/.cache/module__f76ab9c683cc298fa529d7080d7f12fd5324fd19c849f1c47faecbdd7a90c4fb/node_production_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/home/gepetto/botpress/modules/.cache/module__f76ab9c683cc298fa529d7080d7f12fd5324fd19c849f1c47faecbdd7a90c4fb/node_production_modules/axios/lib/adapters/http.js:260:11)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:482:12)
at endReadableNT (_stream_readable.js:1221:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

The error message in English:

{
“error”:{
“message”:"(#10) This action was not submitted due to new privacy rules in Europe.
See developer documentation for more info",
“type”:“OAuthException”,
“code”:10,
“error_subcode”:2018336,
“fbtrace_id”:“AUmkjfWVra1NAa-qEH5NcI8”
}
}

How can I solve this?

I can solve the problem.

I delete persistentMenu from channel-messenger.json
And add

“disabledActions”: [“typing_on”, “typing_off”, “mark_seen”]

Hi @bttd ,

Thanks for sharing the solution.

Cheers
JB