MongoDB devolverá uno de los siguientes códigos cuando ocurra un error. Usar esta guía para interpretar mensajes de registro y cuando se resuelven problemas con mongod y mongos instancias.
Código | Causa |
|---|---|
InternalError | |
BadValue | |
NoSuchKey | |
GraphContainsCycle | |
HostUnreachable | |
HostNotFound | |
UnknownError | |
FailedToParse | |
CannotMutateObject | |
UserNotFound | |
Formato no compatible | |
No autorizado | |
TypeMismatch | |
Desbordamiento | |
InvalidLength | |
ProtocolError | |
Error de autenticación | |
CannotReuseObject | |
IllegalOperation | |
EmptyArrayOperation | |
InvalidBSON | |
Ya está inicializado | |
LockTimeout | |
RemoteValidationError | |
NamespaceNotFound | |
IndexNotFound | |
PathNotViable | |
NonExistentPath | |
InvalidPath | |
RoleNotFound | |
RolesNotRelated | |
PrivilegioNoEncontrado | |
CannotBackfillArray | |
UserModificationFailed | |
RemoteChangeDetected | |
FileRenameFailed | |
FileNotOpen | |
FileStreamFailed | |
Operadores de actualización en conflicto | |
ArchivoYaAbierto | |
LogWriteFailed | |
CursorNotFound | |
Datos de usuario inconsistentes | |
LockBusy | |
NoMatchingDocument | |
NamespaceExists | |
InvalidRoleModification | |
MaxTimeMSExpired | |
Intervención manual requerida | |
DollarPrefixedFieldName | |
InvalidIdField | |
NotSingleValueField | |
InvalidDBRef | |
EmptyFieldName | |
DottedFieldName | |
RoleModificationFailed | |
ComandoNoEncontrado | |
ShardKeyNotFound | |
Operación de Oplog no soportada | |
StaleShardVersion (obsoleto a partir de 6.0) | |
WriteConcernTimeout | |
Ocurrieron múltiples errores | |
ImmutableField | |
CannotCreateIndex | |
El índice ya existe | |
AuthSchemaIncompatible | |
ShardNotFound | |
ReplicaSetNotFound | |
Opciones no válidas | |
InvalidNamespace | |
NodeNotFound | |
WriteConcernLegacyOK | |
NoReplicationEnabled | |
OperationIncomplete | |
CommandResultSchemaViolation | |
UnknownReplWriteConcern | |
RoleDataInconsistent | |
NoMatchParseContext | |
NoProgressMade | |
RemoteResultsUnavailable | |
IndexOptionsConflict | |
IndexKeySpecsConflict | |
CannotSplit | |
NetworkTimeout | |
Devolución de llamada cancelada | |
ApagadoEnProgreso | |
SecundariaAntesDePrimaria | |
InvalidReplicaSetConfig | |
NoInicializadoAún | |
NotSecondary | |
Operación fallida | |
NoProjectionFound | |
DBPathInUse | |
Preocupación de escritura insatisfactoria | |
OutdatedClient | |
IncompatibleAuditMetadata | |
NewReplicaSetConfigurationIncompatible | |
NodoNoElegible | |
Metadatos de particionado incompatibles | |
DesfaseRelojDistribuido | |
LockFailed | |
InconsistentReplicaSetNames | |
ConfiguraciónEnProgreso | |
NoSePuedeInicializarElNodoConDatos | |
CampoDeValorNoExacto | |
conflicto de escritura | |
Error de sincronización inicial | |
InitialSyncOplogSourceMissing | |
CommandNotSupported | |
DocTooLargeForCapped | |
ConflictingOperationInProgress | |
NamespaceNotSharded | |
InvalidSyncSource | |
OplogStartMissing | |
DocumentValidationFailure (solo para el validador de documentos en colecciones) | |
NotAReplicaSet | |
ProtocoloDeElecciónIncompatible | |
CommandFailed | |
RPCProtocolNegotiationFailed | |
ErrorDeReversiónIrrecuperable | |
LockNotFound | |
LockStateChangeFailed | |
Símbolo no encontrado | |
No se logró satisfacer la preferencia de lectura | |
ReadConcernMajorityNotAvailableYet | |
Término obsoleto | |
CappedPositionLost | |
VersiónIncompatibleDeConfigDeFragmentación | |
RemoteOplogStale | |
JSInterpreterFailure | |
InvalidSSLConfiguration | |
SSLHandshakeFailed | |
JSUncatchableError | |
CursorInUse | |
IncompatibleCatalogManager | |
ConexionesAgrupadasEliminadas | |
LímiteDeMemoriaExcedido | |
ZLibError | |
ReadConcernMajorityNotEnabled | |
NoConfigPrimary | |
StaleEpoch | |
OperationCannotBeBatched | |
OplogOutOfOrder | |
ChunkTooBig | |
InconsistentShardIdentity | |
NoSePuedeAplicarOplogMientrasPrimario | |
CanRepairToDowngrade | |
MustUpgrade | |
DurationOverflow | |
MaxStalenessOutOfRange | |
IncompatibleCollationVersion | |
CollectionIsEmpty | |
ZoneStillInUse | |
InitialSyncActive | |
ViewDepthLimitExceeded | |
ComandoNoSoportadoEnVista | |
OptionNotSupportedOnView | |
InvalidPipelineOperator | |
CommandOnShardedViewNotSupportedOnMongod | |
Demasiados documentos coincidentes | |
CannotIndexParallelArrays | |
TransportSessionClosed | |
TransportSessionNotFound | |
TransportSessionUnknown | |
QueryPlanKilled | |
ErrorDeAperturaDeArchivo | |
ZonaNoEncontrada | |
Conflicto de superposición de rangos | |
WindowsPdhError | |
BadPerfCounterPath | |
AmbiguousIndexKeyPattern | |
InvalidViewDefinition | |
FaltaUnCampoEnLosMetadatosDelCliente | |
ClientMetadataAppNameTooLarge | |
ClientMetadataDocumentTooLarge | |
ClientMetadataCannotBeMutated | |
LinearizableReadConcernError | |
IncompatibleServerVersion | |
PrimarySteppedDown | |
MasterSlaveConnectionFailure | |
FailPointEnabled | |
NoShardingEnabled (obsoleto a partir de 6.0) | |
BalancerInterrupted | |
ViewPipelineMaxSizeExceeded | |
InvalidIndexSpecificationOption | |
ReplicaSetMonitorRemoved | |
ChunkRangeCleanupPending | |
No se pueden construir claves de índice | |
NetworkInterfaceExceededTimeLimit | |
ShardingStateNoInicializado | |
TimeProofMismatch | |
Limitador de tasa de fallas de tiempo de clúster | |
NoSuchSession | |
InvalidUUID | |
TooManyLocks | |
StaleClusterTime | |
No se puede verificar y firmar LogicalTime | |
KeyNotFound | |
IncompatibleRollbackAlgorithm | |
DuplicateSession | |
AuthenticationRestrictionUnmet | |
EliminaciónDeBaseDeDatosPendiente | |
ElectionInProgress | |
IncompleteTransactionHistory | |
UpdateOperationFailed | |
FTDCPathNotSet | |
FTDCPathAlreadySet | |
IndexModified | |
CloseChangeStream | |
IllegalOpMsgFlag | |
QueryFeatureNotAllowed | |
TransactionTooOld | |
Fallo de atomicidad | |
NoPuedeCrearColecciónImplícitamente | |
Transferencia de sesión incompleta | |
MustDowngrade | |
DNSHostNotFound | |
DNSProtocolError | |
MaxSubPipelineDepthExceeded | |
TooManyDocumentSequences | |
RetryChangeStream | |
InternalErrorNotSupported | |
ForTestingErrorExtraInfo | |
CursorKilled | |
No implementado | |
InstantáneaDemasiadoAntigua | |
DNSRecordTypeMismatch | |
ConversionFailure | |
NoPuedeCrearColección | |
IncompatibleWithUpgradedServer | |
BrokenPromise | |
SnapshotUnavailable | |
ProducerConsumerQueueBatchTooLarge | |
ProductorConsumidorColaFinCerrado | |
StaleDbVersion | |
StaleChunkHistory | |
NoSuchTransaction | |
ReentrancyNotAllowed | |
FreeMonHttpInFlight (obsoleto desde la versión 7.1) | |
Fallo temporal de FreeMonHttp (en desuso a partir de 7.1) | |
FreeMonHttpPermanentFailure (obsoleto a partir de la 7.1) | |
TransacciónConfirmada | |
TransactionTooLarge | |
UnknownFeatureCompatibilityVersion | |
KeyedExecutorRetry | |
InvalidResumeToken | |
Demasiadas sesiones lógicas | |
ExceededTimeLimit | |
OperationNotSupportedInTransaction | |
TooManyFilesOpen | |
OrphanedRangeCleanUpFailed | |
FailPointSetFailed | |
PreparedTransactionInProgress | |
CannotBackup | |
DataModifiedByRepair | |
Nodo del conjunto de réplicas reparado | |
Fallo de JSInterpreter con pila | |
MigrationConflict | |
ProducerConsumerQueueProducerQueueDepthExceeded | |
ProducerConsumerQueueConsumed | |
ExchangePassthrough | |
IndexBuildAborted | |
AlarmaYaCumplida | |
UnsatisfiableCommitQuorum | |
ClientDisconnect | |
ErrorFatalDeCambiosEnStream | |
TransactionCoordinatorSteppingDown | |
TransactionCoordinatorReachedAbortDecision | |
WouldChangeOwningShard | |
ForTestingErrorExtraInfoWithExtraInfoInNamespace | |
IndexBuildAlreadyInProgress | |
ChangeStreamHistoryLost | |
TransactionCoordinatorDeadlineTaskCanceled | |
Error de suma de verificación | |
WaitForMajorityServiceEarlierOpTimeAvailable | |
TransactionExceededLifetimeLimitSeconds | |
NoQueryExecutionPlans | |
QueryExceededMemoryLimitNoDiskUseAllowed | |
InvalidSeedList | |
InvalidTopologyType | |
InvalidHeartBeatFrequency | |
TopologySetNameRequired | |
Violación del Nivel Jerárquico de Adquisición | |
InvalidServerType | |
OCSPCertificateStatusRevoked | |
RangeDeletionAbandonedBecauseCollectionWithUUIDDoesNotExist | |
DataCorruptionDetected | |
OCSPCertificateStatusUnknown | |
SplitHorizonChange | |
ShardInvalidatedForTargeting (en desuso a partir de 7.1) | |
ReadThroughCacheLookupCanceled | |
RangeDeletionAbandonedBecauseTaskDocumentDoesNotExist | |
CurrentConfigNotCommittedYet | |
Comando de Escape Finalizado | |
PeriodicJobIsStopped | |
TransactionCoordinatorCanceled | |
OperationIsKilledAndDelisted | |
ResumableRangeDeleterDisabled | |
El objeto está ocupado | |
TooStaleToSyncFromSource | |
QueryTrialRunCompleted | |
Conexión de pool caducada | |
ForTestingOptionalErrorExtraInfo | |
MovePrimaryInProgress | |
TenantMigrationConflict | |
TenantMigrationCommitted | |
APIVersionError | |
APIStrictError | |
APIDeprecationError | |
TenantMigrationAborted | |
OplogQueryMinTsMissing | |
NoSuchTenantMigration | |
TenantMigrationAccessBlockerShuttingDown | |
TenantMigrationInProgress | |
SkipCommandExecution | |
FailedToRunWithReplyBuilder | |
CannotDowngrade | |
ServiceExecutorInShutdown | |
Mecanismo no disponible | |
TenantMigrationForgotten | |
TimeseriesBucketCleared | |
Autenticación abandonada | |
ReasignarColecciónEnProgreso | |
NoSuchReshardCollection | |
ReshardCollectionCommitted | |
ReshardCollectionAborted | |
Tiempo de espera de la sección crítica de redistribución | |
ShardCannotRefreshDueToLocksHeld | |
AuditingNotEnabled | |
RuntimeAuditConfigurationNotEnabled | |
ChangeStreamInvalidated | |
APIMismatchError | |
ChangeStreamTopologyChange (en desuso a partir de 8.3) | |
ClavePatrónMásCortaQueElLímite | |
ReshardCollectionTruncatedError | |
ChangeStreamIniciadoDespuésDeInvalidación | |
UnsupportedOpQueryCommand | |
Incompatibilidad de soporte de balanceador de carga | |
Interrumpido debido a cambio de almacenamiento | |
TxnRetryCounterTooOld | |
InvalidBSONType | |
InternalTransactionNotSupported | |
CannotConvertIndexToUnique | |
PlacementVersionRefreshCanceled | |
CollectionUUIDMismatch | |
FutureAlreadyRetrieved | |
TransacciónReintentarEnProgreso | |
TemporalmenteNoDisponible | |
WouldChangeOwningShardDeletedNoDocument | |
FLECompactionPlaceholder | |
FLETransactionAbort | |
CannotDropShardKeyIndex | |
Bloqueo de escritura de usuario | |
CerrarConexiónPorComandoDeApagado | |
InternalTransactionsExhaustiveFindHasMore | |
TransactionAPIMustRetryTransaction | |
TransactionAPIMustRetryCommit | |
ChangeStreamNotEnabled | |
FLEMaxTagLimitExceeded | |
NonConformantBSON | |
DatabaseMetadataRefreshCanceled | |
RequestAlreadyFulfilled | |
ReshardingCoordinatorServiceConflictingOperationInProgress | |
RemoteCommandExecutionError | |
CollectionIsEmptyLocally | |
Error de conexión | |
ConflictingServerlessOperation | |
DuplicateKeyId | |
FLEPayload encontrado durante la aplicación de Hmac | |
TransactionTooLargeForCache | |
LibmongocryptError | |
InvalidSignature | |
ReauthenticationRequired | |
InvalidJWT | |
InvalidTenantId | |
Serialización truncada | |
IndexInformationTooLarge | |
StreamTerminated | |
No se puede actualizar | |
ResumeTenantChangeStream | |
ResourceExhausted | |
UnsupportedShardingEventNotification | |
LDAPRoleAcquisitionError | |
CannotCreateChunkDistribution | |
MigrationBlockingOperationCoordinatorCleaningUp | |
PooledConnectionAcquisitionExceededTimeLimit | |
CannotInsertTimeseriesBucketsWithMixedSchema | |
TimeseriesBucketCompressionFailed | |
TimeseriesBucketFrozen | |
QueryRejectedBySettings | |
Actualizaciones aún pendientes | |
TransactionParticipantFailedUnyield | |
AddOrRemoveShardInProgress | |
StreamProcessorDoesNotExist | |
StreamProcessorAlreadyExists | |
StreamProcessorWorkerShuttingDown | |
StreamProcessorWorkerOutOfMemory | |
StreamProcessorKafkaConnectionError | |
StreamProcessorInvalidOptions | |
StreamProcessorAtlasConnectionError | |
StreamProcessorAtlasUnauthorizedError | |
StreamProcessorSourceDocTooLarge | |
StreamProcessorTooManyOutputTargets | |
StreamProcessorCannotResumeFromSource | |
IndexIsEmpty | |
DbCheckSecondaryBatchTimeout | |
DbCheckAttemptOnClusteredCollectionIdIndex | |
DbCheckInconsistentHash | |
IndexKeyOrderViolation | |
ChunkMetadataInconsistency | |
OfflineValidationFailedToComplete | |
AdmissionQueueOverflow | |
NoDistinctScansForDistinctEligibleQuery | |
QueryStatsFailedToRecord | |
StreamProcessorHTTPSConnectionError | |
StreamProcessorExternalFunctionConnectionError | |
RetryMultiPlanning | |
StreamProcessorS3ConnectionError | |
StreamProcessorS3Error | |
DatabaseMetadataRefreshCanceledDueToFCVTransition | |
ClusterUMCErrorWithWriteConcernError | |
El objeto ya existe | |
StreamProcessorInvalidNamespace | |
RateLimitExceeded | |
Adquisición de conexión agrupada rechazada | |
StreamProcessorS3TokenExpired | |
ReleaseMemoryShardError | |
Se interrumpió debido a la sección crítica de redistribución | |
ReplayClientConfigurationError | |
ReplayClientNotConnected | |
ReplayClientFailedToProcessBSON | |
ReplayClientInternalError | |
ReplayClientSessionSchedulerError | |
ReplayClientSessionSimulationError | |
StreamProcessorKinesisConnectionError | |
StreamProcessorKinesisError | |
Se ha superado el límite de velocidad de solicitudes entrantes | |
StreamProcessorKinesisRetryableError | |
ShardRemovedError | |
PlacementHistoryInitializationInProgress | |
SchemaRegistryNonRetryableError | |
Error de Iceberg que se puede volver a intentar en el procesador de flujo | |
StreamProcessorStartupRetryableError | |
SchemaRegistryConnectionError | |
StreamProcessorAtlasConnectionErrorDuringFirstStart | |
Interrumpido debido a adición de fragmento | |
InvalidBSONColumn | |
MaxNumberOfOrPlansExceeded | |
SocketException | |
CannotGrowDocumentInCappedNamespace | |
LegacyNotPrimary | |
NotWritablePrimary | |
BSONObjectTooLarge | |
DuplicateKey | |
InterruptedAtShutdown | |
Interrumpido | |
Interrumpido por un cambio en el estado de Repl | |
BackgroundOperationInProgressForDatabase | |
BackgroundOperationInProgressForNamespace | |
MergeStageNoMatchingDocument | |
DatabaseDifferCase | |
StaleConfig | |
NotPrimaryNoSecondaryOk | |
NotPrimaryOrSecondary | |
OutOfDiskSpace | |
NamespaceCannotBeSharded | |
Búsqueda no habilitada | |
IDLDuplicateField | |
IDLNoSePudoAnalizar | |
IDLUnknownField | |
ClientMarkedKilled | |
NotARetryableWriteCommand | |
Conflicto de apertura de copia de seguridad con Checkpoint | |
ConfigServerUnreachable | |
RetryableInternalTransactionNotSupported | |
FalloComandoRemotoReintentable | |
IllegalChangeToExpectedShardVersion | |
CambioIlegalALaVersionEsperadaDeLaBaseDeDatos | |
RemoveShardDrainingInProgress | |
IDLUnknownFieldPossibleMongocryptd | |
IndexNotFoundCachedPlan | |
Nueva función EncryptedFindAndModify no admitida | |
NodoCbrNoSoportado | |
HistogramCEFailure | |
ErrorMuestreoCE | |
CEFailure | |
Interrumpido debido a cambio de FCV | |
ReadThroughCacheTimeMonotonicityViolation |