Added the entity type to search error message