missing relation_type error