My app is getting integration errors and does not sync with Atlas.
Here is the error message:
Failed to integrate download with non-retryable error: error applying downloaded changesets to mongodb: error applying array operations as pure set, ArrayInsert.prior_size was 12 but built-up array was only of length 13
My macOS writer app processed CSV files and inserted 230k documents. Although the sync was very slow, the Realm server was writing to Atlas. But after writing about 190k documents, it started getting the integration error. My reader app can connect to the server. But it doesn’t seem to download the data.
What would you recommend to fix this? Should I terminate the sync, delete the local file, and reinsert the remaining documents?