laptop and a wrench

Error

The labelingInfo object is not returned in the REST endpoint of the published service when the feature is labeled using the Python expression.

ArcGIS GIS Server
Número de ID del error BUG-000164004
EnviadoDecember 27, 2023
Última modificaciónNovember 30, 2025
Relacionado conArcGIS GIS Server
Versión encontrada11.2
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoNon-Reproducible

Información adicional

The issue is not reproducible. For cross-platform support, it is recommended to use an Arcade expression. When using an Arcade expression, the layer’s REST resources are displayed as follows: "labelingInfo": [ {"labelExpressionInfo": { "expression": "$feature.STATE_NAME + \" (\" + $feature.STATE_FIPS + \")\"", "title": "my expression" }}] When a Python expression is used, it is translated into a simpler form, as shown below. This is because Python expressions are not supported by web client apps. "labelingInfo": [ { "labelExpression": "CONCAT [STATE_NAME] CONCAT \"(\" CONCAT [STATE_FIPS] CONCAT \")\"" }]

Pasos para reproducir

ID del error: BUG-000164004

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