laptop and a wrench

Error

Web tool returns the error message, "Error 000816:The tool is not valid" from the REST endpoint of the Select Layer By Location geoprocessing tool and submits a job(GET) request.

Última publicación: December 18, 2019 ArcGIS GIS Server
Número de ID del error BUG-000124933
EnviadoSeptember 3, 2019
Última modificaciónJune 5, 2024
Relacionado conArcGIS GIS Server
Versión encontrada10.6.1
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

Use the workaround or upgrade to a newer version of ArcGIS Pro and ArcGIS Enterprise that fixes the issue. For issues existing in older versions of ArcGIS Enterprise, the issue can be resolved unless it is crucial to the organization and requested through the hotfix process.

Solución alternativa

There are two workarounds:

1. For SelectLayerByLocation, don not use the tool directly, make a script tool with the following code (You have to include copyfeatures):

 

import arcpy

import os

layer1= arcpy.GetParameterAsText(0)

layer2= arcpy.GetParameterAsText(1)

outfc= arcpy.GetParameterAsText(2)

arcpy.management.SelectLayerByLocation(layer1, "INTERSECT", layer2, "", "NEW_SELECTION")

arcpy.CopyFeatures_management(layer1, outfc)

 

2. Upgrade ArcGIS Pro and ArcGIS Enterprise to 2.4 and 10.7 respectively

Pasos para reproducir

ID del error: BUG-000124933

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga