XLCLOUD-459 return validation error message for template validate method