ESRI Field Maps Sync Errors

7681
16
09-29-2022 08:40 AM
MilesThompson
Occasional Contributor

I have been working on updating our GIS workflows to mobile data collection, and am having issues with several layers from ArcGIS Online, and syncing data after offline data collection.

I get the following errors:

GENERAL ERRORS

Unable to synchronize replica.
Exporting data changes failed.


I have followed all the leads here, https://community.esri.com/t5/arcgis-field-maps-blog/arcgis-field-maps-offline-edits-fail-to-sync-le...

Recreated entire new hosted feature layers to replace the ones causing issues, new copies of maps, signed out/in, cleared caches, everything....still get errors.

Does anyone have any ideas of where to look next?

- Miles

16 Replies
MilesThompson
Occasional Contributor

I did, but I don't remember exactly what the solution was. I remade all my hosted layers and also updated all the apps and desktop versions before I remade them.

 

Everything has been working fine since then.

0 Kudos
jtmouw_NCDOT
Regular Contributor

Anyone have a solution for this? Experiencing it in field maps for a few different services

jtmouw_NCDOT
Regular Contributor

We ran into this for a while and after extensive testing and back and forth with esri they discoverd a back end bug:

https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000164208

jtmouw_NCDOT_0-1706549655863.png

 

Not really clear what the bug actually was, but they were able to repair our services in-place without republishing.

0 Kudos
JohnMarino
Occasional Contributor

In case anyone finds this in the future (not 100% sure if this would have resolved the original issue, but this was the only thread in Geonet that matched the same error…):

I was encountering the same "Exporting data changes failed" error in Field Maps following making some minor changes to the feature layer schema (added some fields and updated some domain values).

After some head scratching, I deleted the newly created fields and slowly added them back. What seemed to trigger the issue was a long field name (which was 42 characters). Once I re-created the field with a shorter name (31 characters), all issues with creating and syncing offline maps were resolved. Unfortunately the error messages were not very helpful in diagnosing this issue… But perhaps it will help someone else in the future.

0 Kudos
DougBrowning
MVP Esteemed Contributor

31 is the limit for SQL Lite which is what Field Maps uses to go offline so that makes sense.  GDB is 64.  I wonder if the new offline checker looks for this?

0 Kudos
JohnMarino
Occasional Contributor

Thanks @DougBrowning. Out of curiosity, what offline checker tool are you referring to?

0 Kudos
DougBrowning
MVP Esteemed Contributor

The settings tab of the map in AGOL 

DougBrowning_0-1747161616952.png