I get errors every time I try running multiple geoprocessing tools off outputs created from the same script.
For instance:
arcpy.management.XYTableToPoint(in_table, out_feature_class, x_field, y_field, {z_field}, {coordinate_system})
and then
arcpy.management.SelectLayerByLocation(in_layer, {overlap_type}, {select_features}, {search_distance}, {selection_type}, {invert_spatial_relationship})
The XY Table to point will work but then I'll get an error on the Select layer by location. I know I'm missing something simple.