a2251 recovery frozing

I have a2251 with problems, it froze after 2-3 mins in recovery mode i can erase disk but macbook frozes and reboots
I tried apple configurator and restore with no error but macbook starts flashing folder problem

it detect ssd but configurator cant install what i must do?