profile tool - given key dictionary error
I am trying to implement the profile tool. It works on one site of ours but not the other. The only difference is the DEM source and the Coordinate system. I have followed this thread (link below) and still can't work out the cause. I've configured all the parameters (elevation source etc., see attached image)
https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=9066000000006f5AAA
Error message is:
There was a workflow error running activity: Exception has been thrown by the target of an invocation. Workflow 'ProfileTool' failed Unhandled exception: 'The given key was not present in the dictionary.' in activity '1.72: Cast<Object[]>'. The given key was not present in the dictionary.
I've populated all the custom parameters:
_img_ alt="custom parameters" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000XcFG&feoid=Body&refid=0EMf2000000YERD" _/_img_
0
-
Hi Peter,
The Profile Tool workflow runs a series of web requests to the Identify endpoint for the DEM that you published that has height information.
The Cast<Object[]> activity is trying to locate a specific named attribute out of the Identify response. If that attribute isn't there, you will get the error "The given key was not present in the dictionary".
To troubleshoot, I recommend using Log or Alert to print out the JSON that is returned. Then, you can see if the key in the dictionary is a different word, or you can see if there is an error.
You may also get this error if your DEM has no data where you draw the transect line.
Regards,
-Malcolm0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar