Message
Cursor id 1234567890123 not found.
Cause
This error is triggered when streaming records from a buffer while at the same time changes are being done to the buffer. The changes could be insertions/deletions or updates. These changes invalidate the cursor’s reference point which may no longer exist, leading to this error.
Another potential cause could be a long running processing of a batch of buffer records that exceeds the curser's timeout threshold of 2 minutes.
Resolution
Make sure that no other Flow is running and modifying the Buffer while executing your current flow. The flows can be orchestrated to run sequentially if necessary to avoid the chance of querying and modifying the buffer at the same time.
If the Flow had been running for a long time, look into splitting the buffer query into batches to reduce the chance of a timeout. Once these changes are done, you can rerun the Flow.
Error Detail
{
"errorResponse": {
"ok": 0,
"errmsg": "cursor id 123456789012 not found",
"code": 43,
"codeName": "CursorNotFound",
"operationTime": {
"_timestamp": "7443682140811689988"
},
"_clusterTime": {
"clusterTime": {
"_timestamp": "7443682140811689988"
},
"signature": {
"hash": "GcKoRzrpf/cEAXSgRhehfnjGCMs=",
"keyId": {
"low": 2,
"high": 1724917819,
"unsigned": false
}
}
}
},
"ok": 0,
"code": 43,
"codeName": "CursorNotFound",
"operationTime": {
"_timestamp": "7443682140811689988"
},
"statusCode": 500,
"stepType": "Destination",
"stepName": "Buffer",
"stepId": "c2164f49-ee13-4cae-95b3-0dec19a5d1a8",
"mapStepId": "l4phq9LNB",
"mapStepPath": "KfWo69Exj.KfWo69Exj:0.l4phq9LNB",
"mapStepType": "Step",
"module": "Synatic",
"commandProcessingError": null,
"name": "MongoServerError",
"message": "cursor id 6660298099411862324 not found",
"_clusterTime": {
"clusterTime": {
"_timestamp": "7443682140811689988"
},
"signature": {
"hash": "GcKoRzrpf/cEAXSgRhehfnjGCMs=",
"keyId": {
"low": 2,
"high": 1724917819,
"unsigned": false
}
}
}
}