Synchronize error

0
I got this error while synchronizing   Failed to synchronize object '33495522229131689': com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"changes":"HashMap(ArrivalTime -> 1674044388802, UoMWeightDeparture -> kg, DepartureOdometer -> 1150, OFM.CashAdvanceActual_Shipping -> 25614222919954122, ArrivalWeight -> 1000, ShippingNumberDummy -> 40115, SAP...","type":"ChangeAction"}', all database changes executed by this action were rolled back. To prevent data loss, the changes have been stored under 'System.SynchronizationError' with id '7036874418368450'.     What is the cause of the error?    
asked
2 answers
0

Hi,

in case the error message continues with something similar to

 

Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Autocommitted objects 

you have to make sure that you commit all (related) objects.

An Autocommit happens when you commit an OrderLine that is related to an uncommited Order. The Order would be Autocommitted.

 

 

answered
0

Check if the object you are trying to sync still exists on the server. Sync errors often show up when you make changes to an object locally when the object is already deleted on the server. When the sync process tries to update the server object it will come up empty, thus causing the error. Using a ‘soft delete’ is recommended for these situations to remove the object from the device before it is deleted from the server.

answered