raise error when tenant does not exist