Hi all,
I’m placing this topic as a helper for anyone who seems to be having issues with or is unaware of any issues regarding device sync for MongoDB. As everyone is aware, recently MongoDB has announced the deprecation of the device sync service. This will come into place from September 2025. They state that all services will remain operational until then.
However, this is not the case I have 6 device sync applications. 3 were created before the partition or flexible options within the deployment methods. The next three were deployed with partition as the main method for device sync functionality.
The important note here is that the first 3 applications have stopped working, resulting in my mobile applications failing. On user authentication for these apps, I utilise the “DownloadAndSync() and UpdateAndSync()” SDK functions. This may be because I didn’t update them to use partition keys or flexible sync functionality. This was and still isn’t a requirement for my apps so I don’t see why I need to change my whole application to handle something I wouldn’t use.
I originally came across this as soon as I learnt about the deprecation because not only did they announce the deprecation but a lot of UI changes had occurred and I was concerned that some functionality would have been changed too. Testing all my applications I stumbled across the issue where when calling “DownloadAndSync()” My application would just “Do nothing” There were no errors that came back (Probably could have handled error handling more effectively). I tried to contact MongoDB support for assistance not only to find my Device Sync Apps (the change of UI made it hard to find the apps) but also if any functionality had been changed. After a few hours, I finally got a reply noting that no functionality had been changed and it was only a notice that the service would stop in the future. This didn’t explain why applications had just stopped.
I finally got a response to the location of my previous device sync applications. and when logging into each one I found the three I had originally created were reporting an error in their logs.
Error:
Atlas Device Sync has been deprecated
Remote IP Address:
xx.xx.xx.xx
This error looks like the functionality has actually been stopped?
Each time I called “DownloadAndSync or UpdateAndSync”, this error would pop up in the App logs. Now I’m not sure if there is a method to handle this error and if I could have put something in place to see this error but the main point of this topic is even though MongoDB states they have not changed anything, they have.
Now the only solution I can think of to fix this is to recreate the Device Sync App. The new create app seems to have removed the partition and flexible sync options and defaults it to something. I’m not interested in trying to find out as I’m in the process of moving off MongoDB there’s no point in hosting with them without the seamless device sync that was in place.
Hopefully, this will help someone trying to get answers as to why their application is not working without waiting for a response from MongoDB. Also if anyone has more information on this and would like to add please feel free. Also if I’m incorrect on this information, let me know to so that others have a better understanding of whats going on.