000561: Relationship invalid for selected layers.
Description
The overlap type specified is invalid for the specified layers. For instance, an overlap type of Are identical to is invalid if the layers are of different feature types (for example, one is point and the other is polygon).
Solution
To learn more about which relationships are appropriate for the data, see the Select Layer By Location tool help.