Xperia 10 IV flash 4.6.0.15 faulty

returned
current-slot: a
what does that mean? I don’t have more OS on my mobile (slot b?), only Android 14, it’s a new unused device, the original was Android 12, I uploaded version 14 there using Xperia Companion.
I don’t understand why the standalone commands execute without error, but flash.sh ends up with an error on them.
I don’t have much experience with flashing, so I don’t know if it’s normal that after (almost) every other fastboot command I have to disconnect the cable, because the phone switches to normal mode (blue LED turns off, red turns on) and goes into charging mode.