Error flashing Wemos D1 mini(ESP8266) with arduino

Actually one of them is defective probably(the D1 mini) and for the pro I just connected an ftdi to program it once and pulled to GND pins D2 and D8 just once. after this it magically works normally probably unlocked some wizardry the electronics god put on it