laptop and a wrench

Error

Failed to execute a query by ObjectId after creating a query layer on a view feature class.

Última publicación: September 28, 2020 ArcGIS GIS Server
Número de ID del error BUG-000133851
EnviadoSeptember 15, 2020
Última modificaciónDecember 16, 2025
Relacionado conArcGIS GIS Server
Versión encontrada10.7.1
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoAs Designed

Información adicional

ESRI_OID in a query layer is a virtual field. Therefore querying against ESRI_OID field is not allowed. Starting ArcGIS Enterprise 11.4, map service returns uniqueIdInfo element in a query layers REST resources when the object-id field is virtual. Look for uniqueIdInfo.OIDFieldContainsHashValue. If the value is true, don't use the object-id field as it is most likely named ESRI_OID in this case in a query input. Instead use fields from uniqueIdInfo.fields property. If the need to get or send unique-ids arises, use returnUniqueIds or uniqueIds parameters.

Solución alternativa

Publish the map service as a copy from ArcGIS Pro.

Pasos para reproducir

ID del error: BUG-000133851

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