error handling when the URI of a term is not found.