laptop and a wrench

Bug

ArcGIS Field Maps 25.2 returns the error message "Unable to Load All Data. Some expressions failed to evaluate" when a pop-up contains an Arcade expression that returns an empty FeatureSet.

ArcGIS Field Maps
Bug ID Number BUG-000179915
SubmittedOctober 3, 2025
Last ModifiedOctober 12, 2025
Applies toArcGIS Field Maps
Version found25.2.0
Operating SystemApple iOS
Operating System Version18.x
StatusWill Not Be Addressed

Additional Information

In the latest release of ArcGIS Field Maps, this is not a valid expression since the variable being accessed in the return expression has not been declared when the FeatureSet is empty. To remedy this, move the declaration of the variable in the for loop outside the loop. var wetlands = FeatureSetByName($map, "Layer 2"); var intNWis = Intersects($feature, wetlands); var intwetland; for (var n in intNWls){ intwetland = n.ATTRIBUTE; return intwetland;

Workaround

Add a conditional statement to return the FeatureSet only when the count is not zero:

if(Count(featureSetName)>0){}

Steps to Reproduce

Bug ID: BUG-000179915

Software:

  • ArcGIS Field Maps

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