MongoDB devolverá uno de los siguientes códigos cuando ocurra un error. Utiliza esta guía para interpretar registros y cuando resuelvas 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 | |
WriteConcernFailed | |
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 | |
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 | |
FreeMonHttpTemporaryFailure | |
FreeMonHttpPermanentFailure | |
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 | |
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 | |
SocketException | |
CannotGrowDocumentInCappedNamespace | |
NotWritablePrimary | |
BSONObjectTooLarge | |
DuplicateKey | |
InterruptedAtShutdown | |
Interrumpido | |
Interrumpido por un cambio en el estado de Repl | |
BackgroundOperationInProgressForDatabase | |
BackgroundOperationInProgressForNamespace | |
MergeStageNoMatchingDocument | |
DatabaseDifferCase | |
StaleConfig | |
NotPrimaryNoSecondaryOk | |
NotPrimaryOrSecondary | |
OutOfDiskSpace | |
ClientMarkedKilled |