throw error if now type of relations is set