Server error while using embedded passwordless login via phone number

Getting an error while verifying the code (OTP) sent to the phone number via webAuth.passwordlessLogin

Error:
Cannot read properties of undefined (reading 'name')

I have looked at similar posts, which suggest checking any custom rules. I have no rules defined.