Hello JS API team,
Clicking anywhere on the viewshed analysis sample sometimes returns an uncaught promise error. You can replicate this by clicking on the North/South Pole. Additionally, several tiles fail to load.
This is on version 4.18 of the ArcGIS Javascript API:
https://developers.arcgis.com/javascript/latest/sample-code/geoprocessing-viewshed/
![Neocyte_1-1617668106777.png Neocyte_1-1617668106777.png](https://community.esri.com/t5/image/serverpage/image-id/10149i117529A0A3403E84/image-size/large?v=v2&px=999)
It seems that when the geoprocessor executes the parameters and promises to draw the result data, one of the parameters doesn't get passed...
var params = {
Input_Observation_Point: featureSet,
Viewshed_Distance: vsDistance
};
gp.execute(params).then(drawResultData);