if consumer key is not present, throw exception