fastboot wipe-super super_empty.img ( super_empty.img is inside factory images or can be extracted from payload.bin) Sometimes one slot is corrupted:
fastboot set_active other fastboot reboot bootloader If your device supports it: fastboot wipe-super super_empty
If you post the and what you flashed before the error , I can give you the exact partition layout and commands. fastboot wipe-super super_empty