i got this after trying install MIUI 14 via TWRP. i was in fastboot loop. fastboot boot twrp.img produced the error.
my answer:
run the fastboot install.bat from a fastboot rom
(it reboot to recovery)
put back to fastboot mode, then type fastboot boot twrp.img
this time it worked. then, use twrp to install the last rom that worked. and also choose the "install twrp" option since i have SD888 device. all working again