How to solve discord Invalid Two-Factor Auth Ticket

If you are using 2-Factor authentication then you probably face this issue. What if you uninstall your authenticator app like Google authenticator?

But you are logged in to your discord Desktop app or any other platform and now want to login into your phone.

so here are quick steps to do so:

1) Go to your discord setting and create a backup code

Screenshot from 2022-11-26 01-10-20.png

2) and this is important wait for 30 mins or something these codes won't work immediately for some reason.

3) go to your phone app

discord.png

click on that 3-dot menu icon and this ^ screen will prompt up. Enter any 1 of the backup code Remember with no spaces and -

and now you are logged in.

Just a quick write I hope it helps someone.