Facebook bot stopped working after password reset

Viewed 898

I have a few facebook bots created using Bot Framework, C# and running on Azure.

All of them stopped working at the same time after I went to facebook, changed password and clicked "Log Out All Sessions" under Security.

That's the error message that I can see in the Bot Framework website:

{"error":
  {"message":"Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.",
  "type":"OAuthException",
  "code":190,
  "error_subcode":460,
  "fbtrace_id":"Hh+N0op30L5"}}

I tried regenerating page access token and replacing it in the Bot Framework setting. I tried resubscribing the bot to the Facebook page. I still can't get the bot to work again.

1 Answers

When this happens, you just need to regenerate the access token then verify and save that Facebook can access your webhook.

You do this from the Edit Subscription section of Webhook.

Related