Two-factor verification having to be done twice

I’ve found when Joining this platform I have sometimes had to enter two-factor twice. For example when entering the two factor code sent to your phone number or email it says not accepted or valid.