TWRP: Cannot Format to Remove Encryption


The screen appears after booting into TWRP and trying to format the memory.
I was trying to flash a custom ROM using TWRP recovery but it showed Cannot mount storage Y Error mounting & # 39; / data & # 39; (invalid argument).
I tried several methods, such as formatting memory, but it's not happening either. It is showing Cannot format to remove encryption. I also tried to change the file format but nothing helped me. Now, every time I turn on my phone, it automatically starts in TWRP recovery mode. I tried this method and almost every possible method, but nothing helped me. Please help. I'm using moto e4 plus (nicklaus)