Skip to main content

profile tool - given key dictionary error

Comments

1 comment

  • Permanently deleted user
    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,

     

    -Malcolm
    0

Please sign in to leave a comment.