Página inicial do Docs → Desenvolver aplicações → Manual do MongoDB
Códigos de erro
O MongoDB retornará um dos seguintes códigos quando ocorrer um erro. Use este guia para interpretar registros e ao solucionar problemas com instâncias mongod
e mongos
.
Código | Causa |
---|---|
Erro interno | |
Ruim | |
NoSuchKey | |
GraphContainsCycle | |
HostInacessível | |
HostNotFound | |
UnknownError | |
FailedToparse | |
CannotMutateObject | |
UserNotFound | |
UnsupportedFormat | |
Não autorizado | |
TypeIncompatibilidade | |
Transbordamento | |
InvalidLength | |
ProtocolError | |
Falha ao autenticar | |
CannotReuseObject | |
IllegalOperation | |
Operação emptyArray | |
BSON inválido | |
JáInitializado | |
LockTimeout | |
Erro de validação remota | |
NamespaceNotFound | |
IndexNotFound | |
CaminhoNotViable | |
NonExistentPath | |
Caminho inválido | |
RoleNotFound | |
RolesNotRelations | |
PrivilegeNotFound | |
CannotBackfillArray | |
UserModificationFailed | |
Alterações remotas detectadas | |
FileRenameFailed | |
FileNotOpen | |
FileStreamFailed | |
Operadores de atualização conflitantes | |
FileAlreadyOpen | |
LogWriteFailed | |
CursorNotFound | |
UserDataInconsistent | |
LockBusy | |
NoMatchingDocument | |
NamespaceExists | |
Modificação de função inválida | |
MaxTimeMSExpired | |
ManualInterventionRequired | |
DólarPrefixedFieldName | |
CampoIdInválido | |
NotSingleValueField | |
DBRef inválido | |
emptyFieldName | |
DottedFieldName | |
RoleModificationFailed | |
CommandNotFound | |
ShardKeyNotFound | |
OplogOperationUnsupported | |
StaleShardVersion | |
WriteConcernFailed | |
MultipleErrorsOccurred | |
Campo imutável | |
Não é possível criar índice | |
IndexAlreadyExists | |
AuthSchemaIncompatible | |
ShardNotFound | |
ReplicaSetNotFound | |
InvalidOptions | |
Namespace inválido | |
NodeNotFound | |
WriteConcernLegacyOK | |
NoReplicationEnabled | |
Operação incompleta | |
CommandResultSchemaViolation | |
UnknownReplWriteConcern | |
RoleDataInconsistent | |
NoMatchparseContext | |
NoProgressMade | |
RemotosResultadosIndisponível | |
IndexOptionsConflict | |
IndexKeySpecsConflict | |
CannotSplit | |
NetworkTimeout | |
Chamada de resposta cancelada | |
ShutdownInProgress | |
SecundárioAheadOfPrimary | |
InvalidReplicaSetConfig | |
NotYetInitialized | |
Não secundário | |
OperationFailed | |
NoProjectionFound | |
DBPathInUse | |
UnsatisfiableWriteConcern | |
Cliente desatualizado | |
IncompatibleAuditMetadata | |
NewReplicaSetConfigurationIncompatible | |
NodeNotElectable | |
IncompatibleShardingMetadata | |
DistributedClockSkewed | |
LockFailed | |
InconsistentReplicaSetNames | |
ConfigurationInProgress | |
CannotInitializeNodeWithData | |
NotExactValueField | |
conflito de gravação | |
InitialSyncFailure | |
InitialSyncOplogSourceMissing | |
CommandNotSupported | |
DocTooLargeForCapped | |
ConflictingOperationInProgress | |
NamespaceNotSharded | |
InvalidSyncSource | |
OplogStartMissing | |
DocumentValidationFailure (somente para o validador de documentos em coleções) | |
NotAReplicaSet | |
IncompatibleElectionProtocol | |
CommandFailed | |
RPCProtocolNegotiationFailed | |
UnrecoverableRollbackError | |
LockNotFound | |
LockStateChangeFailed | |
Símbolo não encontrado | |
FailedToSatisfyReadPreference | |
ReadConcernMajorityNotAvailableYet | |
Staleterm | |
CappedPositionLost | |
IncompatibleShardingConfigVersion | |
RemotoOplogStale | |
JSInterpreterFailure | |
InvalidSSLConfiguration | |
SSLHandshakeFailed | |
JSUncatchableError | |
Cursor em uso | |
IncompatibleCatalogManager | |
PooledConnectionsDropped | |
ExceededMemoryLimit | |
ZLibError | |
ReadConcernMajorityNotEnabled | |
NoConfigPrimary | |
StaleEpoch | |
OperationCannotBeBatched | |
OplogOutOfOrder | |
ChunkTooBig | |
InconsistentShardIdentity | |
CannotApplyOplogWhilePrimary | |
CanRepairToDowngrade | |
MustUpgrade | |
DurationOverflow | |
MaxStalenessOutOfRange | |
IncompatibleCollationVersion | |
A coleção está vazia | |
ZoneStillInUse | |
InitialSyncActive | |
ViewDepthLimitExceeded | |
CommandNotSupportedOnView | |
OptionNotSupportedOnView | |
Operador de pipeline inválido | |
CommandOnShardedViewNotSupportedOnMongod | |
Muitos documentos correspondentes | |
CannotIndexParallelArrays | |
TransportSessionClosed | |
TransportSessionNotFound | |
TransportSessionUnknown | |
QueryPlanKilled | |
FileOpenFailed | |
ZoneNotFound | |
RangeOverlapConflict | |
WindowsPdhError | |
BackPerfCounterPath | |
AmbiguousIndexKeyPattern | |
Definição de visualização inválida | |
ClientMetadataMissingField | |
ClientMetadataAppNameTooLarge | |
ClientMetadataDocumentTooLarge | |
ClientMetadataCannotBeMutated | |
LinearizableReadConcernError | |
IncompatibleServerVersion | |
PrimarySteppedDown | |
MasterSlaveConnectionFailure | |
FailPointEnabled | |
NoShardingEnabled | |
BalancerInterrupted | |
ViewPipelineMaxSizeExceeded | |
InvalidIndexSpecificationOption | |
ReplicaSetMonitorRemoved | |
ChunkRangeCleanupPpending | |
CannotBuildIndexKeys | |
NetworkInterfaceExceededTimeLimit | |
ShardingStateNotInitialized | |
TimeProofMismatch | |
ClusterTimeFailsRateLimiter | |
NoSuchSession | |
UUID inválido | |
ToManyLocks | |
StaleClusterTime | |
CannotVerifyAndSignLogicalTime | |
KeyNotFound | |
IncompatibleRollbackAlgorithm | |
DuplicateSession | |
AuthenticationRestrictionUnmet | |
DatabaseDropPpending | |
Eleição em andamento | |
Histórico de transações incompleto | |
UpdateOperationFailed | |
FTDCPPathNotSet | |
FTDCPPathAlreadySet | |
IndexModified | |
CloseChangeStream | |
IllegalOpMsgFlag | |
QueryFeatureNotAllowed | |
TransactionTooOld | |
AtomicidadeFailure | |
Não é possível criar uma coleção de forma implícita | |
SessionTransferIncomplete | |
Deve fazer o downgrade | |
DNSHostNotFound | |
DNSProtocolError | |
MaxSubPipelineDepthExceeded | |
ToManyDocumentSequences | |
RetryChangeStream | |
InternalErrorNotSupported | |
For TestingErrorExtraInfo | |
CursorKilled | |
NotImplemented | |
SnapshotTooOld | |
DNSRecordTypeMismatch | |
Falha na conversão | |
Não é possível criar coleção | |
IncompatibleWithUpgradedServer | |
BlockPromise | |
SnapshotIndisponível | |
ProdutorConsumerQueueBatchTooLarge | |
ProdutorConsumerQueueEndClosed | |
StaleDbVersion | |
StaleChunkHistory | |
NoSuchTransaction | |
ReentrancyNotAllowed | |
FreeMonHttpInFlight | |
FreeMonHttpTemporaryFailure | |
FreeMonHttpPermanentFailure | |
Transação confirmada | |
TransactionTooLarge | |
UnknownFeatureCompatibilityVersion | |
KeyedExecutorRetry | |
Token de currículo inválido | |
ToManyLogicalSessions | |
ExceededTimeLimit | |
OperationNotSupportedInTransaction | |
TOManyFilesOpen | |
OrphanedRangeCleanUpFailed | |
FailPointSetFailed | |
PreparedTransactionInProgress | |
CannotBackup | |
DataModifiedByRepair | |
RepairedReplicaSetNode | |
JSInterpreterFailureWithStack | |
MigrationConflict | |
ProdutorConsumerQueueProducerQueueDepthExceeded | |
ProdutorConsumerQueueConsumed | |
TrocaPassthrough | |
IndexBuildAborted | |
Alerta já encerrado | |
UnsatisfiableCommitQuorum | |
Desconexão do cliente | |
ChangeStreamFatalError | |
TransactionCoordinatorSteppingDown | |
TransactionCoordinatorReachedAbortDecision | |
Seria o ChangeOwningShard | |
ForTestingErrorExtraInfoWithExtraInfoInNamespace | |
IndexBuildAlreadyInProgress | |
ChangeStreamHistoryLost | |
TransactionCoordinatorDeadlineTaskCanceled | |
ChecksumMismatch | |
WaitForMajorityServiceEarlierOpTimeAvailable | |
TransactionExceededLifetimeLimitSeconds | |
NoQueryExecutionPlans | |
QueryExceededMemoryLimitNoDiskUseAllowed | |
Lista de sementes inválida | |
Tipo de topologia inválido | |
InvalidHeartBeatFrequency | |
TopologySetNameRequired | |
HierarchicalAcquisitionLevelViolation | |
Tipo de servidor inválido | |
OCSPCertificateStatusRevogado | |
RangeDeletionAbandoned PorqueCollectionWithUUIDDoesNotExist | |
DataCorruptionDetected | |
OCSPCertificateStatusUnknown | |
Alteração do horizonte dividido | |
ShardInvalidatedForTargeting | |
RangeDeletionAbandonadoporqueTaskDocumentDoesNotExist | |
CurrentConfigNotCommittedYet | |
ExhaustCommandFinished | |
PeriodicJobIsStopped | |
TransactionCoordinatorCanceled | |
OperaçãoIsKilledAndDelisted | |
ResumableRangeDeleterDisabled | |
ObjectIsBusy | |
TambémStaleToSyncFromSource | |
QueryTrialRunCompleted | |
ConnectionPoolExpired | |
ForTestingOptionalErrorExtraInfo | |
MovePrimaryInProgress | |
TenantMigrationConflict | |
TenantMigrationCommitted | |
APIVersionError | |
APIStrictError | |
APIDeprecationError | |
TenantMigrationAborted | |
OplogQueryMinTsMissing | |
NoSuchTenantMigration | |
TenantMigrationAccessBlockerShuttingDown | |
TenantMigrationInProgress | |
SkipCommandExecution | |
FailedToRunWithReplyBuilder | |
Não é possível fazer downgrade | |
ServiceExecutorInShutdown | |
MecanismoIndisponível | |
TenantMigrationForgotten | |
Exceção de soquete | |
CannotGrowDocumentInCappedNamespace | |
NotWritablePrimary | |
BSONObjectTooLarge | |
DuplicateKey | |
InterruptedAtShutdown | |
Interrompido | |
InterruptedDueToReplStateChange | |
BackgroundOperationInProgressForDatabase | |
BackgroundOperationInProgressForNamespace | |
MergeStageNoMatchingDocument | |
DatabaseDifferCase | |
StaleConfig | |
NotPrimaryNoSecondaryOk | |
NotPrimaryOrSecondary | |
OutOfDiskspace | |
ClientMartedKilled |