| Número de ID del error |
BUG-000133851 |
| Enviado | September 15, 2020 |
| Última modificación | December 16, 2025 |
| Relacionado con | ArcGIS GIS Server |
| Versión encontrada | 10.7.1 |
| Sistema operativo | Windows OS |
| Versión de sistema operativo | N/A |
| Estado | As Designed
Tras revisión realizada por el equipo de desarrollo, se ha determinado que este comportamiento es acorde con lo designado. Consulte los detalles en la sección Información adicional.
|
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