laptop and a wrench

Bug

In the ArcGIS Survey123 report service, the error message "400: Cannot perform query." is returned when using outFields and returnDistinctValues in the report template.

Last Published: December 16, 2022 ArcGIS Survey123
Bug ID Number BUG-000151025
SubmittedJuly 25, 2022
Last ModifiedJune 13, 2025
Applies toArcGIS Survey123
Version found3.15
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version FixedDecember 2022 Update
StatusFixed

Additional Information

In the ArcGIS Survey123 report service, when getting unique values for a field, ensure to include all fields in orderByFields in outFields. This is an underlying design in the ArcGIS REST API query of a feature layer. Otherwise, an error occurs.

Steps to Reproduce

Bug ID: BUG-000151025

Software:

  • ArcGIS Survey123

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