laptop and a wrench

Bug

The error message “ERROR 000816: The tool is not valid.” returns for geoprocessing services published from Python toolboxes (PYT) when using cloned Python environments.

ArcGIS GIS Server
Bug ID Number BUG-000166373
SubmittedMarch 29, 2024
Last ModifiedJuly 2, 2025
Applies toArcGIS GIS Server
Version found10.9.1
Operating SystemWindows Server
Operating System Version2019 64 Bit
StatusNon-Reproducible

Additional Information

This issue is no longer reproducible in ArcGIS Pro 3.5 with ArcGIS Enterprise 11.5.

Workaround

  • Use the regular ArcGIS toolbox (.abtx) to create the tool and publish it.
  • Upgrade to ArcGIS Enterprise 11.2.

Steps to Reproduce

Bug ID: BUG-000166373

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options