2FA (2 Factor Authentication, or MFA, Multi Factor Authentication) is a method that was created in the world to authenticate humans.
Unattended robots should not be using 2FA to log into the Kryon platform, since they are by definition unattended and there is no human present to provide the code.
For attended automation, it is a different story. To read more about enabling 2FA for attended robots, Studio and Console, read here:
https://community.kryonsystems.com/s/article/Configure-OTP-2FA-Two-Factor-Authentication