Nokia 7 Plus - Factory Reset not working: "failed to mount"

 I am not able to Factory Reset my device. It gives me that error: "failed to mount /logfs: Invalid argument"