Xiaomi Tool v2 a piece of s**t!
It may work properly with other phones, but not with Redmi Note 10 Pro.
I got the same error message when I wanted a firmware update.
Then I downloaded the latest ROM (Fastboot) and use the MI Flash application.
This is correctly installed the latest ROM.