return an error when the term is not supplied