Are you doing the factory reset from the menu (Settings->System->Advanced system settings->Factory reset) or using the reset button method? If the former, the PIN you need to use is displayed on the screen. If the latter, make sure you're holding in the reset button for no less than 30 seconds regardless of what's happening onscreen.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.