Replace feature not working

I have a fan switch that is not working. wanted to use the Replace feature. When i click on the replace button i immediately get this message.

Any idea on how to use this feature? It would be nice if it works to prevent the 'virtual device' replace method on the more involved devices.

Below are images from the replace message page and also the system log.
image
sys:12021-04-28 07:50:41.056 Z-Wave Replace Failed Node did not complete successfully
sys:12021-04-28 07:50:41.025 Z-Wave Replace failed node running

Update.

I was able to get the replace feature to work after clicking refresh and then repair. Once the repair process completed its run, the Replace feature allowed me to add the replacement device.