hi Venkat,
Please check the UoM system linked to your Numbering scheme and then maintain the UoM in that UoM system.
When you say even after maintaining the UoM you still get the error. I assume, it was not added to the right UoM system.
Please let us know if you are facing issues even after linking to the right UoM system.
Regards
Dhilipan