fixing rest api error message for scale factor validations