laptop and a wrench

Bug

A web map with Arcade content in the pop-up containing a function with fewer parameters compared to the function definition (rather than filling an optional parameter with 'null') crashes the ArcGIS Pro 3.1.x Arcade interpreter resulting in the pop-up being blank.

ArcGIS Pro
Bug ID Number BUG-000161589
SubmittedSeptember 21, 2023
Last ModifiedFebruary 11, 2025
Applies toArcGIS Pro
Version found3.1
Operating SystemWindows OS
Operating System VersionN/A
StatusAs Designed

Additional Information

The software does not crash, the script fails. It fails because Arcade does not support optional parameters in user-defined functions at this time.

Workaround

Add 'null' or empty quotation marks to the optional parameters in the Arcade expression function.

Steps to Reproduce

Bug ID: BUG-000161589

Software:

  • ArcGIS Pro

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