Error fastboot flash system
First you need to unlock your bootloader and then you can flash recovery image.
If you have already done that, Check whether you are flashing the proper one.

This is TWRP recovery for MI A2.

After flashing TWRP you can flash the desired rom from it. Do read some threads from XDA, If you are not sure about what you are doing.