Did you follow this exactly?
1. Power ANAFI on.
2. Press the power button and keep it pressed: after approximately 8 seconds, the battery's LEDs turn on red, one after the other.
3. When the 4 LEDs are red, release the power button.
4. ANAFI reboots - a TXT file has been generated on ANAFI's microSD card, which contains ANAFI's Wi-Fi network's password; that's how you can check the hard reset has been successful.