laptop and a wrench

Bug

A REST query on a map service using outFields=* and returnDistinctValues=true returns the error message "Failed to execute query".

Last Published: July 21, 2017 ArcGIS GIS Server
Bug ID Number BUG-000105760
SubmittedJune 11, 2017
Last ModifiedDecember 25, 2025
Applies toArcGIS GIS Server
Version found10.5
Operating SystemWindows OS
Operating System Version2012 R2
StatusAs Designed

Additional Information

Using outFields=* combined with returnDistinctValues=true returns all records, which is equivalent to where=1=1 and outFields=*. This combination is not supported by many underlying databases.

Steps to Reproduce

Bug ID: BUG-000105760

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