How to solve the error : "Converting circular structure to JSON"
In a workflow, I do a query on a polygon feature, then I union the resulting polygon geometries, then I create a feature based on this merged geometry... Then, whenever I try to add this feature to a feature service, I get this error : TypeError: Converting circular structure to JSON? at JSON.stringify.
Would someone here have some ideas about what are the causes and how to deal with it ?
-
Ok, got it... Putting an Add Graphic Layer between a Create feature and an Add Feature it's not a good idea.
0 -
I'm having the same problem. though I could use AddMarkup command, but I do want to add the feature with proper graphic style. Why does AddGraphic mess up the of the input feature? is it a bug? probably the dev team could help answering it.
0
Please sign in to leave a comment.
Comments
2 comments