Found a %s record instead of an expected %s record. Check to see if an override of the resolveReference method is returning ...