MongoDB Errors

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

479IFRFlagRetry
IFRFlag Retry — MongoDB error code 479
480UnrecognizedIFRFlag
Unrecognized IFRFlag — MongoDB error code 480
481StreamProcessorBadChangeStreamPipeline
Stream Processor Bad Change Stream Pipeline — MongoDB error code 481
StreamProcessorUserErrorStreamProcessorRetryableError
482MaxNumberOfOrPlansExceeded
Max Number Of Or Plans Exceeded — MongoDB error code 482
timeout
483OpCtxKilledOnMarkKillOpsExempt
Op Ctx Killed On Mark Kill Ops Exempt — MongoDB error code 483
query
484KeyExists
Key Exists — MongoDB error code 484
485InterruptedDueToTimeseriesUpgradeDowngrade
Interrupted Due To Timeseries Upgrade Downgrade — MongoDB error code 485
connectivityreplication
486StreamProcessorKafkaThrottled
Stream Processor Kafka Throttled — MongoDB error code 486
StreamProcessorUserErrorStreamProcessorRetryableError
487PlacementHistoryInitializationMissing
Placement History Initialization Missing — MongoDB error code 487
488PrimaryOnlyServiceInitializing
Primary Only Service Initializing — MongoDB error code 488
replication
489SearchRequestRejectedDueToOverload
Search Request Rejected Due To Overload — MongoDB error code 489
SystemOverloadedError
490ReplanningRequired
Replanning Required — MongoDB error code 490
replication
491CommandNotSupportedOnLegacyTimeseriesBucketsNamespace
Command Not Supported On Legacy Timeseries Buckets Namespace — MongoDB error code 491
492StreamProcessorPubSubAuthenticationError
Stream Processor Pub Sub Authentication Error — MongoDB error code 492
authentication
493StreamProcessorPubSubPermissionDeniedError
Stream Processor Pub Sub Permission Denied Error — MongoDB error code 493
StreamProcessorUserError
494StreamProcessorPubSubConnectionError
Stream Processor Pub Sub Connection Error — MongoDB error code 494
networking
495TimeseriesBucketMetadataInconsistent
Timeseries Bucket Metadata Inconsistent — MongoDB error code 495
496ReshardingValidationIncompleteData
Resharding Validation Incomplete Data — MongoDB error code 496
sharding
497StreamProcessorMergeExpressionError
Stream Processor Merge Expression Error — MongoDB error code 497
StreamProcessorUserError
498InvalidOpMsgSize
Invalid Op Msg Size — MongoDB error code 498
ConnectionFatalMessageParseError
499MultipleOpMsgBodySections
Multiple Op Msg Body Sections — MongoDB error code 499
ConnectionFatalMessageParseError
500DuplicateOpMsgDocumentSequence
Duplicate Op Msg Document Sequence — MongoDB error code 500
ConnectionFatalMessageParseError
501UnknownOpMsgSectionKind
Unknown Op Msg Section Kind — MongoDB error code 501
ConnectionFatalMessageParseError
502MissingOpMsgBodySection
Missing Op Msg Body Section — MongoDB error code 502
ConnectionFatalMessageParseError
503DuplicateOpMsgField
Duplicate Op Msg Field — MongoDB error code 503
ConnectionFatalMessageParseError
504StreamProcessorIcebergRetryableError
Stream Processor Iceberg Retryable Error — MongoDB error code 504
StreamProcessorUserErrorStreamProcessorRetryableError
506NodeInStepDownPeriod
Node In Step Down Period — MongoDB error code 506
RetriableError
507ReplicaSetWritesBlocked
Replica Set Writes Blocked — MongoDB error code 507
concurrencyreplicationwrite
508SearchIndexManagementHostUnreachable
Search Index Management Host Unreachable — MongoDB error code 508
indexnetworking
509TooManyOpenTransactions
Too Many Open Transactions — MongoDB error code 509
replicationtransaction
510GeoKeyExtractionFailed
Geo Key Extraction Failed — MongoDB error code 510
IndexKeyExtractionError
511GeoKeyExtractionFailedTimeseries
Geo Key Extraction Failed Timeseries — MongoDB error code 511
IndexKeyExtractionError
513StreamProcessorAtlasRetryableUserError
Stream Processor Atlas Retryable User Error — MongoDB error code 513
StreamProcessorUserErrorStreamProcessorRetryableError
514LightweightStepdownConflict
Lightweight Stepdown Conflict — MongoDB error code 514
concurrency
515ConnectionClosedByPeer
Connection Closed By Peer — MongoDB error code 515
connectivitynetworking
516ConnectionEstablishmentTimeout
Connection Establishment Timeout — MongoDB error code 516
connectivitynetworkingtimeout
517InvalidExtensionVTable
Invalid Extension VTable — MongoDB error code 517
ExtensionError
518ExtensionSerializationError
Extension Serialization Error — MongoDB error code 518
ExtensionError
519ExtensionError
Extension Error — MongoDB error code 519
ExtensionError
520DDLCoordinatorMustRetryDueToFCVTransition
DDLCoordinator Must Retry Due To FCVTransition — MongoDB error code 520
InternalOnly
521QueryMemoryLimitExceeded
Query Memory Limit Exceeded — MongoDB error code 521
querytimeout
522RetryBackoff
Retry Backoff — MongoDB error code 522
523InvalidBSONFromJavaScript
Invalid BSONFrom Java Script — MongoDB error code 523
ValidationError
524CommitPendingNamespaceOrUUID
Commit Pending Namespace Or UUID — MongoDB error code 524
InternalOnly
525BSONInternalError
BSONInternal Error — MongoDB error code 525
connectivitynetworking
526StreamProcessorPreviewConnectTimeout
Stream Processor Preview Connect Timeout — MongoDB error code 526
timeout
527StreamProcessorMaterializeError
Stream Processor Materialize Error — MongoDB error code 527
StreamProcessorUserError
528KMIPRetryableError
KMIPRetryable Error — MongoDB error code 528
529ZeroCEEstimate
Zero CEEstimate — MongoDB error code 529
PlannerEstimationErrorInternalOnly
530SearchRequestCanceledDueToOverload
Search Request Canceled Due To Overload — MongoDB error code 530
SystemOverloadedError