This error appears because there is a difference between UM Defined in CSP and value of UM defined in the XML file.
In such cases, you must open CSP, look for this specific budget code and check the unit of measurement defined in there. APR data will always be checked against CSP data.
XML with errors:

CSP data:

You need to proceed the same way in case BudgetCode, PuaCode, InterventionCode, Output Indicator are not validated at loading of XML file into APR. All data are checked for consistency against CSP.