raise an error if populate cannot populate a relation