MongoDb driver Exception

I am getting these error or exception while adding many records in MongoDb using AddManyAsync() method.
how to resolve these?
what is the reason?

Error Message
Server returned node is recovering error (code = 11602, codeName"InterruptedDueToReplStateChange").
MongoDB.Driver.MongoNodeIsRecoveringException: Server returned node is recovering error (code = 11602, codeName = “InterruptedDueToReplStateChange”).
at MongoDB.Driver.Core.Operations.RetryableWriteOperationExecutor.ExecuteAsync[TResult](IRetryableWriteOperation`1 operation, RetryableWriteContext context, CancellationToken cancellationToken)

Hi @Graeme_Henderson, thanks for posting your question :slight_smile:

Do you mind posting the code snippet that gives you this error and some brief context on what you are trying to achieve? Thanks!