MongoDB Errors
Browse server error codes and driver error classes with explanations and diagnostic guidance.
102IncompatibleAuditMetadata
Incompatible Audit Metadata — MongoDB error code 102
103NewReplicaSetConfigurationIncompatible
New Replica Set Configuration Incompatible — MongoDB error code 103
replication
104NodeNotElectable
Node Not Electable — MongoDB error code 104
105IncompatibleShardingMetadata
Incompatible Sharding Metadata — MongoDB error code 105
sharding
106DistributedClockSkewed
Distributed Clock Skewed — MongoDB error code 106
concurrency
107LockFailed
Lock Failed — MongoDB error code 107
concurrency
108InconsistentReplicaSetNames
Inconsistent Replica Set Names — MongoDB error code 108
replication
109ConfigurationInProgress
Configuration In Progress — MongoDB error code 109
110CannotInitializeNodeWithData
Cannot Initialize Node With Data — MongoDB error code 110
111NotExactValueField
Not Exact Value Field — MongoDB error code 111
112WriteConflict
Two concurrent operations attempted to modify the same document
writetransactionconcurrency
113InitialSyncFailure
Initial Sync Failure — MongoDB error code 113
114InitialSyncOplogSourceMissing
Initial Sync Oplog Source Missing — MongoDB error code 114
replication
115CommandNotSupported
Command Not Supported — MongoDB error code 115
116DocTooLargeForCapped
Doc Too Large For Capped — MongoDB error code 116
117ConflictingOperationInProgress
An incompatible operation is already running on this resource
concurrencyconfiguration
118NamespaceNotSharded
Namespace Not Sharded — MongoDB error code 118
sharding
119InvalidSyncSource
Invalid Sync Source — MongoDB error code 119
120OplogStartMissing
Oplog Start Missing — MongoDB error code 120
replication
121DocumentValidationFailure
Document Validation Failure — MongoDB error code 121
122OBSOLETE_ReadAfterOptimeTimeout
OBSOLETE Read After Optime Timeout — MongoDB error code 122
timeout
123NotAReplicaSet
Not AReplica Set — MongoDB error code 123
replication
124IncompatibleElectionProtocol
Incompatible Election Protocol — MongoDB error code 124
replication
125CommandFailed
The command cannot be executed against a view
queryconfiguration
126RPCProtocolNegotiationFailed
An unknown or invalid aggregation pipeline operator was used
queryconfiguration
127UnrecoverableRollbackError
Unrecoverable Rollback Error — MongoDB error code 127
128LockNotFound
Lock Not Found — MongoDB error code 128
concurrency
129LockStateChangeFailed
Lock State Change Failed — MongoDB error code 129
concurrency
130SymbolNotFound
Symbol Not Found — MongoDB error code 130
132OBSOLETE_ConfigServersInconsistent
OBSOLETE Config Servers Inconsistent — MongoDB error code 132
133FailedToSatisfyReadPreference
MongoDB could not parse the input — check syntax and format
queryconfiguration
134ReadConcernMajorityNotAvailableYet
Read Concern Majority Not Available Yet — MongoDB error code 134
RetriableError
135StaleTerm
Stale Term — MongoDB error code 135
136CappedPositionLost
Capped Position Lost — MongoDB error code 136
137IncompatibleShardingConfigVersion
Incompatible Sharding Config Version — MongoDB error code 137
sharding
138RemoteOplogStale
Remote Oplog Stale — MongoDB error code 138
replication
139JSInterpreterFailure
JSInterpreter Failure — MongoDB error code 139
140InvalidSSLConfiguration
Invalid SSLConfiguration — MongoDB error code 140
141SSLHandshakeFailed
SSLHandshake Failed — MongoDB error code 141
142JSUncatchableError
JSUncatchable Error — MongoDB error code 142
143CursorInUse
Cursor In Use — MongoDB error code 143
query
144IncompatibleCatalogManager
Incompatible Catalog Manager — MongoDB error code 144
145PooledConnectionsDropped
Pooled Connections Dropped — MongoDB error code 145
networking
146ExceededMemoryLimit
Exceeded Memory Limit — MongoDB error code 146
timeout
147ZLibError
ZLib Error — MongoDB error code 147
148ReadConcernMajorityNotEnabled
Read Concern Majority Not Enabled — MongoDB error code 148
replication
149NoConfigPrimary
No Config Primary — MongoDB error code 149
replication
150StaleEpoch
The shard version or epoch is stale — the config has changed
sharding
151OperationCannotBeBatched
Operation Cannot Be Batched — MongoDB error code 151
152OplogOutOfOrder
Oplog Out Of Order — MongoDB error code 152
replication