MongoDB Errors

Browse server error codes and driver error classes with explanations and diagnostic guidance.

153ChunkTooBig
Chunk Too Big — MongoDB error code 153
sharding
154InconsistentShardIdentity
Inconsistent Shard Identity — MongoDB error code 154
sharding
155CannotApplyOplogWhilePrimary
Cannot Apply Oplog While Primary — MongoDB error code 155
replication
156OBSOLETE_NeedsDocumentMove
OBSOLETE Needs Document Move — MongoDB error code 156
157CanRepairToDowngrade
Can Repair To Downgrade — MongoDB error code 157
158MustUpgrade
Must Upgrade — MongoDB error code 158
159DurationOverflow
Duration Overflow — MongoDB error code 159
160MaxStalenessOutOfRange
Max Staleness Out Of Range — MongoDB error code 160
161IncompatibleCollationVersion
Incompatible Collation Version — MongoDB error code 161
162CollectionIsEmpty
Collection Is Empty — MongoDB error code 162
163ZoneStillInUse
Zone Still In Use — MongoDB error code 163
164InitialSyncActive
Initial Sync Active — MongoDB error code 164
165ViewDepthLimitExceeded
View Depth Limit Exceeded — MongoDB error code 165
timeout
166CommandNotSupportedOnView
This command cannot be executed against a view
queryconfiguration
167OptionNotSupportedOnView
Option Not Supported On View — MongoDB error code 167
168InvalidPipelineOperator
Invalid Pipeline Operator — MongoDB error code 168
169CommandOnShardedViewNotSupportedOnMongod
Command On Sharded View Not Supported On Mongod — MongoDB error code 169
sharding
170TooManyMatchingDocuments
Too Many Matching Documents — MongoDB error code 170
171CannotIndexParallelArrays
Cannot Index Parallel Arrays — MongoDB error code 171
index
172TransportSessionClosed
Transport Session Closed — MongoDB error code 172
173TransportSessionNotFound
Transport Session Not Found — MongoDB error code 173
174TransportSessionUnknown
Transport Session Unknown — MongoDB error code 174
175QueryPlanKilled
The shard's cached chunk version is stale
sharding
176FileOpenFailed
File Open Failed — MongoDB error code 176
177ZoneNotFound
Zone Not Found — MongoDB error code 177
178RangeOverlapConflict
Range Overlap Conflict — MongoDB error code 178
concurrency
179WindowsPdhError
Windows Pdh Error — MongoDB error code 179
180BadPerfCounterPath
Bad Perf Counter Path — MongoDB error code 180
181AmbiguousIndexKeyPattern
Ambiguous Index Key Pattern — MongoDB error code 181
index
182InvalidViewDefinition
Invalid View Definition — MongoDB error code 182
183ClientMetadataMissingField
Client Metadata Missing Field — MongoDB error code 183
184ClientMetadataAppNameTooLarge
Client Metadata App Name Too Large — MongoDB error code 184
185ClientMetadataDocumentTooLarge
Client Metadata Document Too Large — MongoDB error code 185
186ClientMetadataCannotBeMutated
Client Metadata Cannot Be Mutated — MongoDB error code 186
187LinearizableReadConcernError
Linearizable Read Concern Error — MongoDB error code 187
188IncompatibleServerVersion
Incompatible Server Version — MongoDB error code 188
189PrimarySteppedDown
The primary stepped down during the operation
replicationconnectivity
190MasterSlaveConnectionFailure
Master Slave Connection Failure — MongoDB error code 190
networking
191OBSOLETE_BalancerLostDistributedLock
OBSOLETE Balancer Lost Distributed Lock — MongoDB error code 191
concurrencysharding
192FailPointEnabled
Fail Point Enabled — MongoDB error code 192
193OBSOLETE_NoShardingEnabled
OBSOLETE No Sharding Enabled — MongoDB error code 193
sharding
194BalancerInterrupted
Balancer Interrupted — MongoDB error code 194
connectivitysharding
195ViewPipelineMaxSizeExceeded
View Pipeline Max Size Exceeded — MongoDB error code 195
timeout
197InvalidIndexSpecificationOption
Invalid Index Specification Option — MongoDB error code 197
index
198OBSOLETE_ReceivedOpReplyMessage
OBSOLETE Received Op Reply Message — MongoDB error code 198
replication
199ReplicaSetMonitorRemoved
Replica Set Monitor Removed — MongoDB error code 199
replicationwrite
200ChunkRangeCleanupPending
Chunk Range Cleanup Pending — MongoDB error code 200
sharding
201CannotBuildIndexKeys
Cannot Build Index Keys — MongoDB error code 201
index
202NetworkInterfaceExceededTimeLimit
A network interface operation timed out
networkingconnectivitytimeout
203ShardingStateNotInitialized
Sharding State Not Initialized — MongoDB error code 203
sharding