2-step auth in Defender keeps saying "Your OTP code is incorrect. Please try again."

I'm having an issue with establishing 2-step auth. on a site with Defender. It keeps saying "Your OTP code is incorrect. Please try again."
I've tried multiple times. My colleague has been trying the same on his user and he gets the same error.