If you encounter this error, you need to remove the Facebook account linked to Messenger from your device. You can follow the steps mentioned in the sources provided, which involve navigating to the “Accounts and backup” section in your phone’s settings, removing the Facebook account, and clearing the cache and data from Facebook and Messenger apps.