Getting "Sync session became inactive"

We have a react native 0.73.1 app, running 12.5.0, we are getting below error sometimes and some of the records are updated, we have tried many things to determine the cause of this issue but we are unable, we have bugsnag added to the app so added all the logs we got from the bugsnag console.

{
“reason”: “Sync session became inactive”,
“code”: 1027,
“isOk”: false
}

InvalidError
Counter
promise rejection tracking received a non-error. See “promise rejection tracking” tab for more detail.
Apr 17th 2024, 17:44:44 UTC

STACKTRACE

InvalidError promise rejection tracking received a non-error. See “promise rejection tracking” tab for more detail.
/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/652p4r5v/armeabi-v7a/lib/InternalBytecode/InternalBytecode.js:494:30 onUnhandled
(native) apply
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:213:22 anonymous
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:111:14 _callTimer
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:359:16 callTimers
(native) apply
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:433:33 __callFunction
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:25 anonymous
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:368:10 __guard
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:112:16 callFunctionReturnFlushedQueue