When it comes to victim-to-offender relationships, there are three scenarios and Crime Insight expects specific XML nodes/tags to avoid error 401:

1.  When all of the following are true:
    a) The incident contains a crime against person or robbery
    b) The victim is a person
    c) The offender(s) is/are known
The incident must include:
    a) the <SubjectVictimAssociation> tag
    b) the contained <Subject> tag, 
    c) the contained <Victim> tag, and 
    d) the contained <VictimToSubjectRelationshipCode>.

2.  When all of the following are true:
    a) The incident contains a crime against property apart from robbery
    b) The victim is a person
    c) The offender(s) is/are known
The incident may include (but doesn't need to):
    a) the <SubjectVictimAssociation> tag
    b) the contained <Subject> tag, 
    c) the contained <Victim> tag, and 
    d) the contained <VictimToSubjectRelationshipCode>.

3.  When all of the following are true:
    a) The incident contains a crime against person or robbery
    b) The victim is a person
    c) The offender(s) is/are unknown
The incident must include:
    a) the <SubjectVictimAssociation> tag
    b) the contained <Subject> tag, and
    c) the contained <Victim> tag.
But it may not contain the <VictimToSubjectRelationshipCode>.