Registering refrigerator with pixel 6

I have a pixel 6 and Samsung refrigerator model rf28r7351sg. Smartthings would just hang on the registering step.

I finally found a wifi option under Internet > Network Preferences > Switch to Mobile Data Automatically

I turned this option ON and finally smartthings was able to register the refrigerator.