Why doesn’t the authentication code work?

Authentication codes are generated based on the current date and time. For this reason, correct time must be set on your phone. If time on your phone is wrong, the codes will not work. The best solution is to enable time synchronisation with the mobile network in the phone settings to ensure that time will always be correct.