Using the ArcGIS JS SDK, all calls I make to an Image Server Identify yield “Right side of assignment cannot be destructured” error
I am trying to query an ArcGIS ImageServer (specifically Sentinel2) using the ImageryLayer.identify()
function. Every combination of parameters I’ve used leads to “TypeError: Right side of assignment cannot be destructured”. I found another SO thread about that error message.