I am getting error from mongo can anyone give me insight about this error

{
    "operationTime": {
        "$timestamp": {
            "t": xxxxxxxxxxxxxxxxxxxxxx,
            "i": 1
        }
    },
    "ok": 0,
    "errmsg": "Error in $cursor stage :: caused by :: operation was interrupted",
    "code": 11601,
    "codeName": "Interrupted",
    "$clusterTime": {
        "clusterTime": {
            "$timestamp": {
                "t": 1697618635,
                "i": 1
            }
        },
        "signature": {
            "hash": {
                "$binary": "xxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "$type": "00"
            },
            "keyId": {
                "$numberLong": "xxxxxxxxxxxxxxxxxxxxx"
            }
        }
    }
}

Hello @Anurag_Shankar ,

Welcome to The MongoDB Community Forums! :wave:

I notice that you have not had a response on this topic yet, were you able to find a solution?

The “operation was interrupted” error typically occurs when an operation is terminated or interrupted before it can complete (Mostly with long-running operations). This interruption can be caused by various factors, such as:

  • A user or application explicitly terminating the operation.
  • Resource limitations, such as running out of memory or storage space.
  • Network issues or connectivity problems.

To assist you further, could you please share your MongoDB Server logs? Additionally, may I ask if this is the first time you have encountered this error, and if not, how frequently this error is occurring?

Additionally, can you share steps/more details for me to replicate this?

  • MongoDB Version
  • Sample documents
  • Query executed
  • Database size

Regards,
Tarun