HCSVLAB-434: Corrected error message displayed when the facet has no values defined. Also improved error messaging when the feature is used through the API.