You have enabled two-factor authentication using Google Authentication but it fails.
You may face this problem if,
Method 1-Syncing time correction for codes:
Method 2-Enabling automatic date, time and time zone:
Note: For iOS users, go to Settings-> General-> Date & Time and set it to Automatic. Even if the Date & Time is set to Automatic, double toggle it. Then, go to Settings->Privacy->Location Services and set it to Always use for Google Authenticator app.
Applies to: Google Authenticator app, Two factor authentication
Keywords: Google Authenticator app, Automatic date & time, Automcatic time zone, time correction for codes.