000213: Failed to delete the output file.

Description

The output file already exists, and the function is unable to overwrite it.

Solution

Check if the geoprocessing overwrite output setting is set to True. To change this setting, click the Geoprocessing menu on the Standard toolbar and select Geoprocessing Options. On the resulting dialog box, check the option to Overwrite the output of geoprocessing operations.