The application revision doesn't match the installed firmwar

I have trouble updating the firmware of a unit, see Subject.
What causes this problem? How can I avoid it?

Could you please indicate what is the FW version that is installed on your device?