If you are typing in the correct Verification Code but get a notification saying it is invalid — please make sure that your system time is correct. The code can not be validated with the incorrect time.
To solve the problem on mobile devices turn on Automatic date and time (use the date and time provided by your network) and for PCs enable Set time automatically in your Date & time settings.