I built a snow plow app for the city I work in and have successfully driven around the city and captured roads that I've "snow plowed" for my test, but when I go to sync the routes I just keep getting the error saying it failed to sync. I've checked the device setting, the feature service settings and the settings in the app designed and can't seem to find what is prevent my routes from syncing. Anybody else experienced this issue? If so, how were you able to solve it?
Cathy Walker
GIS Manager
City of Maple Valley
Solved! Go to Solution.
Hi Cathy
The issue is caused by an incorrect edit made to the project using the JSON editor:
"attributes": {
"Username": null,
"FULLNAME": null,
"CRITICAL_GRADE": null,
"JURISDICTION": null,
"RoadLabel": null,
"LocationAccuracy": "AppStudio-CoreLocation",
"Timestamp": 1562950845295,
"username": "mvadmin",
"positionSourceType": 2,
"pluginName": "AppStudio-CoreLocation",
"startTime": 1562950845295,
"endTime": 1562951119295
}
}
The username field appears twice. Removing the duplicate and saving the project will fix the issue.
Thanks
John
Hi Cathy,
please email the records that failed to upload to quickCapture@esri.com. We will have a look. You can also look at the records that failed to upload by opening the data recovery file. More info at https://community.esri.com/community/arcgis-quickcapture/blog/2019/07/14/understanding-arcgis-quickc... Thanks!
Hi Ismael,
Thanks for the quick reply. I have installed the ArcPro plug-in and have looked at the data in ArcPro and all of the polylines that I have captured with the app on my phone have the same error message
{"error":{"code":400,"details":["'features' parameter is invalid","An item with the same key has already been added."],"message":"Cannot perform operation. Invalid operation parameters."}}
although I am not sure what this error means particularly or how to prevent it from happening when I go out and test the app I built by collecting additional data. I have sent the qcr file to the e-mail address you put in your reply. I appreciate any help you and your team can give me in getting my QuickCapture app to sync.
Thanks,
Cathy Walker
GIS Manager
City of Maple Valley
Hi Cathy
The issue is caused by an incorrect edit made to the project using the JSON editor:
"attributes": {
"Username": null,
"FULLNAME": null,
"CRITICAL_GRADE": null,
"JURISDICTION": null,
"RoadLabel": null,
"LocationAccuracy": "AppStudio-CoreLocation",
"Timestamp": 1562950845295,
"username": "mvadmin",
"positionSourceType": 2,
"pluginName": "AppStudio-CoreLocation",
"startTime": 1562950845295,
"endTime": 1562951119295
}
}
The username field appears twice. Removing the duplicate and saving the project will fix the issue.
Thanks
John