I created a simple model, it has spatial join, it takes two feature classes (parameters are hardcoded) and then does a spatial join and the outputs the joined features. The output feature class is also hardcoded.
I want to do a spatial join and the output should be overwritten to that hardcoded feature class...
It works fine in model builder, But when i export that model to python script and i run that python script i get this error -
Spatial Join ERROR 000725: Output Feature Class: GISLAYER already exists