Do you use google authenticator?
If so, are you using TOTP method (time-based code) or HOTP (counter-based code) ?
If you are using TOTP (the most frequently used): Check that the clock of your phone is synced.
You might try to sync it mannually in the settings. This is one of the most frequently appearing 'problems'.