This can usually happen when your device is not connected to the Internet.
Check the wireless connection on your PS4, Xbox One, Nintendo Switch, or whatever console you are using and try again, and this time you should indeed see a verification code on it.
You can now easily enter the code in the relevant field.