Survey published fine with a Locations question with Map set up collect polygon features. Following error pops up. Looking for solution that would fix it. I have tried saving as a copy and re established the location question but get the same following error.
{"error":{"code":400,"message":"","details":["'edits' parameter is invalid","The specified geometry is not in the correct format. Geometry does not have z-values","Unable to apply edits."]}}
Solved! Go to Solution.
Are Z values required in your source feature layer? In the "bind::esri:fieldType" field try putting "esriFieldTypePointZ"
https://community.esri.com/t5/arcgis-survey123-blog/working-with-z-values-in-survey123/ba-p/895011
Are Z values required in your source feature layer? In the "bind::esri:fieldType" field try putting "esriFieldTypePointZ"
https://community.esri.com/t5/arcgis-survey123-blog/working-with-z-values-in-survey123/ba-p/895011
Thank you Neal!
The linked article did help me figure out the issue and resolution. The article refers to if you are using Survey123 connect xlsform.
https://community.esri.com/t5/arcgis-survey123-blog/working-with-z-values-in-survey123/ba-p/895011
In my case I was using the web designer and location question was set to collect the polygons (I should have clarified before). I noticed that by default the z values are active in the drawing tools for 'Points' and the survey was already published, hence I was getting the error even though the question was set to collect polygon areas.
Resolution:
I had to republish the survey saving as new survey and making sure that the z-values for points is disabled and then selected the polygon before publishing. It worked and no more errors!
Thank you
SD