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 your data, see the Select Layer By Location tool help.