Hey guys,
adds=[
{
"attributes": {
"pid": "1033",
"parentid": "1033",
"instanceid": "1",
"moduleid": "PRJLOCN",
"mapcontrolname": "PRJLOCNGISMapControl",
"geometryid": "1",
"projectname": "locationTest",
"projectcode": "locationTest",
"title": "s",
"description": ""
},
"geometry": {
"rings": [
[
[
-12444372.055961894,
3771472.2607350508
],
[
-12442843.31539619,
3771472.2607350508
],
[
-12442843.31539619,
3769332.0239430647
],
[
-12444372.055961894,
3769332.0239430647
],
[
-12444372.055961894,
3771472.2607350508
]
]
],
"spatialReference": {
"wkid": 102100,
"latestWkid": 3857
}
}
}
]
This is the JSON I'm passing to add (I've removed add when passing) and when I do it,
{
"error": {
"code": 500,
"message": "Unable to complete operation.",
"details": [
"No edits ('adds', 'updates', 'deletes', or 'attachment edits') were specified."
]
}
}Getting these errors when trying to add the data. What could be the issue?