All I can say is that ESP-01 lists all WiFi he sees and does not recognize that one he is supposed to connect to is on the list. It just skips and rescans again. I could not save logs, it is remote location with very limited options to work on it.
I tried with two different access points, both having space in SSID. Once space is removed, ESP-01 connects when set to new SSID.
Claims that ESP-01 cannot connect to WiFi with space in SSID I found later, trying to find how to overcome this problem.
But, as changing SSID for these APs is not an option (it is not up to me) I had do give up using this device until I find some other way.
You could run esphome locally on your notebook if you are onsite, for example via a pip or docker. You probably also could just make a “dry run” at home to see it if makes any difference at all