Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/

Códigos de error

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
1

InternalError

2

BadValue

4

NoSuchKey

5

GraphContainsCycle

6

HostUnreachable

7

HostNotFound

8

UnknownError

9

FailedToParse

10

CannotMutateObject

11

UserNotFound

12

Formato no compatible

13

No autorizado

14

TypeMismatch

15

Desbordamiento

16

InvalidLength

17

ProtocolError

18

Error de autenticación

19

CannotReuseObject

20

IllegalOperation

21

EmptyArrayOperation

22

InvalidBSON

23

Ya está inicializado

24

LockTimeout

25

RemoteValidationError

26

NamespaceNotFound

27

IndexNotFound

28

PathNotViable

29

NonExistentPath

30

InvalidPath

31

RoleNotFound

32

RolesNotRelated

33

PrivilegioNoEncontrado

34

CannotBackfillArray

35

UserModificationFailed

36

RemoteChangeDetected

37

FileRenameFailed

38

FileNotOpen

39

FileStreamFailed

40

Operadores de actualización en conflicto

41

ArchivoYaAbierto

42

LogWriteFailed

43

CursorNotFound

45

Datos de usuario inconsistentes

46

LockBusy

47

NoMatchingDocument

48

NamespaceExists

49

InvalidRoleModification

50

MaxTimeMSExpired

51

Intervención manual requerida

52

DollarPrefixedFieldName

53

InvalidIdField

54

NotSingleValueField

55

InvalidDBRef

56

EmptyFieldName

57

DottedFieldName

58

RoleModificationFailed

59

ComandoNoEncontrado

61

ShardKeyNotFound

62

Operación de Oplog no soportada

63

StaleShardVersion (obsoleto a partir de 6.0)

64

WriteConcernTimeout

65

Ocurrieron múltiples errores

66

ImmutableField

67

CannotCreateIndex

68

El índice ya existe

69

AuthSchemaIncompatible

70

ShardNotFound

71

ReplicaSetNotFound

72

Opciones no válidas

73

InvalidNamespace

74

NodeNotFound

75

WriteConcernLegacyOK

76

NoReplicationEnabled

77

OperationIncomplete

78

CommandResultSchemaViolation

79

UnknownReplWriteConcern

80

RoleDataInconsistent

81

NoMatchParseContext

82

NoProgressMade

83

RemoteResultsUnavailable

85

IndexOptionsConflict

86

IndexKeySpecsConflict

87

CannotSplit

89

NetworkTimeout

90

Devolución de llamada cancelada

91

ApagadoEnProgreso

92

SecundariaAntesDePrimaria

93

InvalidReplicaSetConfig

94

NoInicializadoAún

95

NotSecondary

96

Operación fallida

97

NoProjectionFound

98

DBPathInUse

100

Preocupación de escritura insatisfactoria

101

OutdatedClient

102

IncompatibleAuditMetadata

103

NewReplicaSetConfigurationIncompatible

104

NodoNoElegible

105

Metadatos de particionado incompatibles

106

DesfaseRelojDistribuido

107

LockFailed

108

InconsistentReplicaSetNames

109

ConfiguraciónEnProgreso

110

NoSePuedeInicializarElNodoConDatos

111

CampoDeValorNoExacto

112

conflicto de escritura

113

Error de sincronización inicial

114

InitialSyncOplogSourceMissing

115

CommandNotSupported

116

DocTooLargeForCapped

117

ConflictingOperationInProgress

118

NamespaceNotSharded

119

InvalidSyncSource

120

OplogStartMissing

121

DocumentValidationFailure (solo para el validador de documentos en colecciones)

123

NotAReplicaSet

124

ProtocoloDeElecciónIncompatible

125

CommandFailed

126

RPCProtocolNegotiationFailed

127

ErrorDeReversiónIrrecuperable

128

LockNotFound

129

LockStateChangeFailed

130

Símbolo no encontrado

133

No se logró satisfacer la preferencia de lectura

134

ReadConcernMajorityNotAvailableYet

135

Término obsoleto

136

CappedPositionLost

137

VersiónIncompatibleDeConfigDeFragmentación

138

RemoteOplogStale

139

JSInterpreterFailure

140

InvalidSSLConfiguration

141

SSLHandshakeFailed

142

JSUncatchableError

143

CursorInUse

144

IncompatibleCatalogManager

145

ConexionesAgrupadasEliminadas

146

LímiteDeMemoriaExcedido

147

ZLibError

148

ReadConcernMajorityNotEnabled

149

NoConfigPrimary

150

StaleEpoch

151

OperationCannotBeBatched

152

OplogOutOfOrder

153

ChunkTooBig

154

InconsistentShardIdentity

155

NoSePuedeAplicarOplogMientrasPrimario

157

CanRepairToDowngrade

158

MustUpgrade

159

DurationOverflow

160

MaxStalenessOutOfRange

161

IncompatibleCollationVersion

162

CollectionIsEmpty

163

ZoneStillInUse

164

InitialSyncActive

165

ViewDepthLimitExceeded

166

ComandoNoSoportadoEnVista

167

OptionNotSupportedOnView

168

InvalidPipelineOperator

169

CommandOnShardedViewNotSupportedOnMongod

170

Demasiados documentos coincidentes

171

CannotIndexParallelArrays

172

TransportSessionClosed

173

TransportSessionNotFound

174

TransportSessionUnknown

175

QueryPlanKilled

176

ErrorDeAperturaDeArchivo

177

ZonaNoEncontrada

178

Conflicto de superposición de rangos

179

WindowsPdhError

180

BadPerfCounterPath

181

AmbiguousIndexKeyPattern

182

InvalidViewDefinition

183

FaltaUnCampoEnLosMetadatosDelCliente

184

ClientMetadataAppNameTooLarge

185

ClientMetadataDocumentTooLarge

186

ClientMetadataCannotBeMutated

187

LinearizableReadConcernError

188

IncompatibleServerVersion

189

PrimarySteppedDown

190

MasterSlaveConnectionFailure

192

FailPointEnabled

193

NoShardingEnabled (obsoleto a partir de 6.0)

194

BalancerInterrupted

195

ViewPipelineMaxSizeExceeded

197

InvalidIndexSpecificationOption

199

ReplicaSetMonitorRemoved

200

ChunkRangeCleanupPending

201

No se pueden construir claves de índice

202

NetworkInterfaceExceededTimeLimit

203

ShardingStateNoInicializado

204

TimeProofMismatch

205

Limitador de tasa de fallas de tiempo de clúster

206

NoSuchSession

207

InvalidUUID

208

TooManyLocks

209

StaleClusterTime

210

No se puede verificar y firmar LogicalTime

211

KeyNotFound

212

IncompatibleRollbackAlgorithm

213

DuplicateSession

214

AuthenticationRestrictionUnmet

215

EliminaciónDeBaseDeDatosPendiente

216

ElectionInProgress

217

IncompleteTransactionHistory

218

UpdateOperationFailed

219

FTDCPathNotSet

220

FTDCPathAlreadySet

221

IndexModified

222

CloseChangeStream

223

IllegalOpMsgFlag

224

QueryFeatureNotAllowed

225

TransactionTooOld

226

Fallo de atomicidad

227

NoPuedeCrearColecciónImplícitamente

228

Transferencia de sesión incompleta

229

MustDowngrade

230

DNSHostNotFound

231

DNSProtocolError

232

MaxSubPipelineDepthExceeded

233

TooManyDocumentSequences

234

RetryChangeStream

235

InternalErrorNotSupported

236

ForTestingErrorExtraInfo

237

CursorKilled

238

No implementado

239

InstantáneaDemasiadoAntigua

240

DNSRecordTypeMismatch

241

ConversionFailure

242

NoPuedeCrearColección

243

IncompatibleWithUpgradedServer

245

BrokenPromise

246

SnapshotUnavailable

247

ProducerConsumerQueueBatchTooLarge

248

ProductorConsumidorColaFinCerrado

249

StaleDbVersion

250

StaleChunkHistory

251

NoSuchTransaction

252

ReentrancyNotAllowed

253

FreeMonHttpInFlight (obsoleto desde la versión 7.1)

254

Fallo temporal de FreeMonHttp (en desuso a partir de 7.1)

255

FreeMonHttpPermanentFailure (obsoleto a partir de la 7.1)

256

TransacciónConfirmada

257

TransactionTooLarge

258

UnknownFeatureCompatibilityVersion

259

KeyedExecutorRetry

260

InvalidResumeToken

261

Demasiadas sesiones lógicas

262

ExceededTimeLimit

263

OperationNotSupportedInTransaction

264

TooManyFilesOpen

265

OrphanedRangeCleanUpFailed

266

FailPointSetFailed

267

PreparedTransactionInProgress

268

CannotBackup

269

DataModifiedByRepair

270

Nodo del conjunto de réplicas reparado

271

Fallo de JSInterpreter con pila

272

MigrationConflict

273

ProducerConsumerQueueProducerQueueDepthExceeded

274

ProducerConsumerQueueConsumed

275

ExchangePassthrough

276

IndexBuildAborted

277

AlarmaYaCumplida

278

UnsatisfiableCommitQuorum

279

ClientDisconnect

280

ErrorFatalDeCambiosEnStream

281

TransactionCoordinatorSteppingDown

282

TransactionCoordinatorReachedAbortDecision

283

WouldChangeOwningShard

284

ForTestingErrorExtraInfoWithExtraInfoInNamespace

285

IndexBuildAlreadyInProgress

286

ChangeStreamHistoryLost

287

TransactionCoordinatorDeadlineTaskCanceled

288

Error de suma de verificación

289

WaitForMajorityServiceEarlierOpTimeAvailable

290

TransactionExceededLifetimeLimitSeconds

291

NoQueryExecutionPlans

292

QueryExceededMemoryLimitNoDiskUseAllowed

293

InvalidSeedList

294

InvalidTopologyType

295

InvalidHeartBeatFrequency

296

TopologySetNameRequired

297

Violación del Nivel Jerárquico de Adquisición

298

InvalidServerType

299

OCSPCertificateStatusRevoked

300

RangeDeletionAbandonedBecauseCollectionWithUUIDDoesNotExist

301

DataCorruptionDetected

302

OCSPCertificateStatusUnknown

303

SplitHorizonChange

304

ShardInvalidatedForTargeting (en desuso a partir de 7.1)

306

ReadThroughCacheLookupCanceled

307

RangeDeletionAbandonedBecauseTaskDocumentDoesNotExist

308

CurrentConfigNotCommittedYet

309

Comando de Escape Finalizado

310

PeriodicJobIsStopped

311

TransactionCoordinatorCanceled

312

OperationIsKilledAndDelisted

313

ResumableRangeDeleterDisabled

314

El objeto está ocupado

315

TooStaleToSyncFromSource

316

QueryTrialRunCompleted

317

Conexión de pool caducada

318

ForTestingOptionalErrorExtraInfo

319

MovePrimaryInProgress

320

TenantMigrationConflict

321

TenantMigrationCommitted

322

APIVersionError

323

APIStrictError

324

APIDeprecationError

325

TenantMigrationAborted

326

OplogQueryMinTsMissing

327

NoSuchTenantMigration

328

TenantMigrationAccessBlockerShuttingDown

329

TenantMigrationInProgress

330

SkipCommandExecution

331

FailedToRunWithReplyBuilder

332

CannotDowngrade

333

ServiceExecutorInShutdown

334

Mecanismo no disponible

335

TenantMigrationForgotten

336

TimeseriesBucketCleared

337

Autenticación abandonada

338

ReasignarColecciónEnProgreso

339

NoSuchReshardCollection

340

ReshardCollectionCommitted

341

ReshardCollectionAborted

342

Tiempo de espera de la sección crítica de redistribución

343

ShardCannotRefreshDueToLocksHeld

344

AuditingNotEnabled

345

RuntimeAuditConfigurationNotEnabled

346

ChangeStreamInvalidated

347

APIMismatchError

348

ChangeStreamTopologyChange (en desuso a partir de 8.3)

349

ClavePatrónMásCortaQueElLímite

350

ReshardCollectionTruncatedError

351

ChangeStreamIniciadoDespuésDeInvalidación

352

UnsupportedOpQueryCommand

354

Incompatibilidad de soporte de balanceador de carga

355

Interrumpido debido a cambio de almacenamiento

356

TxnRetryCounterTooOld

357

InvalidBSONType

358

InternalTransactionNotSupported

359

CannotConvertIndexToUnique

360

PlacementVersionRefreshCanceled

361

CollectionUUIDMismatch

362

FutureAlreadyRetrieved

363

TransacciónReintentarEnProgreso

365

TemporalmenteNoDisponible

366

WouldChangeOwningShardDeletedNoDocument

367

FLECompactionPlaceholder

369

FLETransactionAbort

370

CannotDropShardKeyIndex

371

Bloqueo de escritura de usuario

372

CerrarConexiónPorComandoDeApagado

373

InternalTransactionsExhaustiveFindHasMore

374

TransactionAPIMustRetryTransaction

375

TransactionAPIMustRetryCommit

376

ChangeStreamNotEnabled

377

FLEMaxTagLimitExceeded

378

NonConformantBSON

379

DatabaseMetadataRefreshCanceled

380

RequestAlreadyFulfilled

381

ReshardingCoordinatorServiceConflictingOperationInProgress

382

RemoteCommandExecutionError

383

CollectionIsEmptyLocally

384

Error de conexión

385

ConflictingServerlessOperation

386

DuplicateKeyId

387

FLEPayload encontrado durante la aplicación de Hmac

388

TransactionTooLargeForCache

389

LibmongocryptError

390

InvalidSignature

391

ReauthenticationRequired

392

InvalidJWT

393

InvalidTenantId

395

Serialización truncada

396

IndexInformationTooLarge

398

StreamTerminated

400

No se puede actualizar

401

ResumeTenantChangeStream

402

ResourceExhausted

403

UnsupportedShardingEventNotification

404

LDAPRoleAcquisitionError

405

CannotCreateChunkDistribution

406

MigrationBlockingOperationCoordinatorCleaningUp

407

PooledConnectionAcquisitionExceededTimeLimit

408

CannotInsertTimeseriesBucketsWithMixedSchema

409

TimeseriesBucketCompressionFailed

410

TimeseriesBucketFrozen

411

QueryRejectedBySettings

412

Actualizaciones aún pendientes

413

TransactionParticipantFailedUnyield

414

AddOrRemoveShardInProgress

415

StreamProcessorDoesNotExist

416

StreamProcessorAlreadyExists

417

StreamProcessorWorkerShuttingDown

418

StreamProcessorWorkerOutOfMemory

419

StreamProcessorKafkaConnectionError

420

StreamProcessorInvalidOptions

421

StreamProcessorAtlasConnectionError

422

StreamProcessorAtlasUnauthorizedError

423

StreamProcessorSourceDocTooLarge

424

StreamProcessorTooManyOutputTargets

425

StreamProcessorCannotResumeFromSource

426

IndexIsEmpty

427

DbCheckSecondaryBatchTimeout

428

DbCheckAttemptOnClusteredCollectionIdIndex

429

DbCheckInconsistentHash

430

IndexKeyOrderViolation

431

ChunkMetadataInconsistency

432

OfflineValidationFailedToComplete

433

AdmissionQueueOverflow

434

NoDistinctScansForDistinctEligibleQuery

435

QueryStatsFailedToRecord

436

StreamProcessorHTTPSConnectionError

440

StreamProcessorExternalFunctionConnectionError

442

RetryMultiPlanning

443

StreamProcessorS3ConnectionError

444

StreamProcessorS3Error

445

DatabaseMetadataRefreshCanceledDueToFCVTransition

446

ClusterUMCErrorWithWriteConcernError

447

El objeto ya existe

448

StreamProcessorInvalidNamespace

449

RateLimitExceeded

450

Adquisición de conexión agrupada rechazada

451

StreamProcessorS3TokenExpired

452

ReleaseMemoryShardError

453

Se interrumpió debido a la sección crítica de redistribución

454

ReplayClientConfigurationError

455

ReplayClientNotConnected

456

ReplayClientFailedToProcessBSON

457

ReplayClientInternalError

458

ReplayClientSessionSchedulerError

459

ReplayClientSessionSimulationError

460

StreamProcessorKinesisConnectionError

461

StreamProcessorKinesisError

462

Se ha superado el límite de velocidad de solicitudes entrantes

463

StreamProcessorKinesisRetryableError

464

ShardRemovedError

465

PlacementHistoryInitializationInProgress

466

SchemaRegistryNonRetryableError

467

Error de Iceberg que se puede volver a intentar en el procesador de flujo

468

StreamProcessorStartupRetryableError

469

SchemaRegistryConnectionError

470

StreamProcessorAtlasConnectionErrorDuringFirstStart

471

Interrumpido debido a adición de fragmento

472

InvalidBSONColumn

482

MaxNumberOfOrPlansExceeded

9001

SocketException

10003

CannotGrowDocumentInCappedNamespace

10058

LegacyNotPrimary

10107

NotWritablePrimary

10334

BSONObjectTooLarge

11000

DuplicateKey

11600

InterruptedAtShutdown

11601

Interrumpido

11602

Interrumpido por un cambio en el estado de Repl

12586

BackgroundOperationInProgressForDatabase

12587

BackgroundOperationInProgressForNamespace

13113

MergeStageNoMatchingDocument

13297

DatabaseDifferCase

13388

StaleConfig

13435

NotPrimaryNoSecondaryOk

13436

NotPrimaryOrSecondary

14031

OutOfDiskSpace

28769

NamespaceCannotBeSharded

31082

Búsqueda no habilitada

40413

IDLDuplicateField

40414

IDLNoSePudoAnalizar

40415

IDLUnknownField

46841

ClientMarkedKilled

50768

NotARetryableWriteCommand

50915

Conflicto de apertura de copia de seguridad con Checkpoint

56846

ConfigServerUnreachable

57986

RetryableInternalTransactionNotSupported

91331

FalloComandoRemotoReintentable

640570

IllegalChangeToExpectedShardVersion

640571

CambioIlegalALaVersionEsperadaDeLaBaseDeDatos

1003141

RemoveShardDrainingInProgress

4662500

IDLUnknownFieldPossibleMongocryptd

4938500

IndexNotFoundCachedPlan

6371402

Nueva función EncryptedFindAndModify no admitida

9737301

NodoCbrNoSoportado

9751901

HistogramCEFailure

9751902

ErrorMuestreoCE

9751903

CEFailure

10045600

Interrumpido debido a cambio de FCV

10171600

ReadThroughCacheTimeMonotonicityViolation

Volver

Niveles de confirmación de escritura y lectura