Sometimes reading a QR code directly with a device might not work. In this situation, you can try zooming in on the QR code so that the Two-Factor Authentication (2FA) app can read the code correctly.
Note: Please make sure you are scan the QR code from the authenticator (2FA) app and not using your phone's camera.
Each app provides a user guide where you find help when facing app related challenges: