PROBLEM
A hosted feature layer view is created so hosted feature layer data can be viewed through different settings, such as the editor settings, styles, definitions, or filters. In some instances, opening the hosted feature layer view in ArcGIS Online Map Viewer returns the following warning message:
Warning: The layer, <layer name>, did not draw completely.
Attempts to display the layer's filter return the following warning message:
Warning: Unable to display the current filter
Opening the attribute table returns the following error message:
Error: Accessing data failed
The network traffic displays the following error:
Error: {"error":{"code":400,"message":"Cannot perform query. Invalid query parameters.","details":["'Invalid field: FIELDNAME' parameter is invalid"]}}
ArcGIS Online Map Viewer is unable to find features from the filtered field(s) settings of the hosted feature layer view display. This issue occurs when the filtered field(s) options in the Set View Definition configuration settings are disabled.
Enable the field(s) set as the filter of the hosted feature layer view.
Note: Applying a filter that does not return any results in the hosted feature layer view may return the same error messages. To avoid this, only apply a filter if it return results in the hosted feature layer view.
Get help from ArcGIS experts
Download the Esri Support App