laptop and a wrench

Bug

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
Bug ID Number BUG-000164004
SubmittedDecember 27, 2023
Last ModifiedNovember 30, 2025
Applies toArcGIS GIS Server
Version found11.2
Operating SystemN/A
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

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 \")\"" }]

Steps to Reproduce

Bug ID: BUG-000164004

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