laptop and a wrench

Bug

Query outfield map image layer returns different ObjectID than infield when using ArcGIS API for Python.

ArcGIS API for Python
Bug ID Number BUG-000179186
SubmittedSeptember 2, 2025
Last ModifiedOctober 6, 2025
Applies toArcGIS API for Python
Version found2.4
Operating SystemWindows OS
Operating System Version11.0 64 bit
StatusIn Product Plan

Workaround

Do not add the object ID field to the list of out_fields. It is added automatically. If the ObjectID field needs to be specified, keep in mind that field names are case sensitive in by-reference services and can differ between DBMS. Ensure the Object ID value being passed into the out_fields argument is using the correct case (i.e. OBJECTID, ObjectID, objectid).

Steps to Reproduce

Bug ID: BUG-000179186

Software:

  • ArcGIS API for Python

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