A poor network connection could be a problem.
Sometimes, the verification message sent from the server might be delayed by factors such as poor signal reception or inaccessibility of the carrier's network. Wait a bit or get the verification code again once the penalty period has expired.