문서 메뉴

문서 홈애플리케이션 개발MongoDB 매뉴얼

오류 코드

MongoDB는 오류가 발생하면 다음 코드 중 하나를 반환합니다. 이 가이드를 사용하여 로그를 해석하고 mongodmongos 인스턴스 관련 문제를 해결할 때 사용합니다.

코드
원인
1
InternalError
2
잘못된 값
4
NoSuchKey
5
GraphContainsCycle
6
HostUnreachable
7
HostNotFound
8
UnknownError
9
FailedToParse
10
CanMutateObject
11
UserNotFound
12
UnsupportedFormat
13
승인되지 않음
14
TypeMismatch
15
오버플로
16
InvalidLength
17
ProtocolError
18
인증 실패
19
CanReuseObject
20
불법적인 운영
21
EmptyArrayOperation
22
InvaliDBSON
23
이미 초기화됨
24
LockTimeout
25
원격 유효성 검사 오류
26
NamespaceNotFound
27
IndexNotFound
28
PathNotViable
29
NonExistentPath
30
InvalidPath
31
RoleNotFound
32
RolesNotRelation
33
PrivilegeNotFound
34
CannotBackfillArray
35
UserModificationFailed
36
원격 변경 감지
37
파일 이름 변경 실패
38
FileNotOpen
39
FileStreamFailed
40
ConflictingUpdateOperators
41
파일이미열기
42
LogWriteFailed
43
CursorNotFound
45
UserDataInconsistent
46
LockBusy
47
NoMatchingDocument
48
NamespaceExists
49
InvalidRoleModification
50
MaxTimeMSExpired
51
수동 개입 필요
52
달러 접두사 필드 이름
53
InvalidIdField
54
NotSingleValueField
55
InvalidDBRef
56
EmptyFieldName
57
DottedFieldName
58
RoleModificationFailed
59
CommandNotFound
61
ShardKeyNotFound
62
OplogOperationUnsupported
63
StaleShardVersion
64
쓰기 고려 실패
65
다중 오류 발생
66
ImmutableField
67
인덱스를 생성할 수 없습니다.
68
IndexAlreadyExists
69
AuthSchemaIncompatible
70
ShardNotFound
71
ReplicaSetNotFound
72
InvalidOptions
73
유효하지 않은 네임스페이스
74
NodeNotFound
75
WriteConcernLegacyOK
76
NoReplicationEnabled
77
OperationIncomplete
78
CommandResultSchemaViolation
79
UnknownReplWriteConcern
80
RoleDataInconsistent
81
NoMatchParseContext
82
NoProgressMed
83
RemoteResultsUnavailable
85
IndexOptionsConflict
86
IndexKeySpecsConflict
87
NotSplit
89
NetworkTimeout
90
콜백 취소됨
91
ShutdownInProgress
92
SecondaryAheadOfPrimary
93
InvalidReplicaSetConfig
94
NotYetInitialized
95
NotSecondary
96
OperationFailed
97
NoProjectionFound
98
DBPathInUse
100
UnsatisfiableWriteConcern
101
OutdatedClient
102
IncompatibleAuditMetadata
103
NewReplicaSetConfigurationIncompatible
104
NodeNotElectable
105
IncompatibleShardingMetadata
106
DistributedClockSkewed
107
LockFailed
108
일관성 없는 복제본 세트 이름
109
ConfigurationInProgress
110
NotInitializeNodeWithData
111
NotExactValueField
112
쓰기 충돌
113
초기 동기화 실패
114
InitialSyncOplogSourceMissing
115
CommandNotSupported
116
DocTooLargeForCapped
117
ConflictingOperationInProgress
118
NamespaceNotSharded
119
InvalidSyncSource
120
OplogStartMissing
121
DocumentValidationFailure(컬렉션의 문서 유효성 검사기에만 해당)
123
NotAReplicaSet
124
IncompatibleElectionProtocol
125
CommandFailed
126
RPCProtocolNegotiationFailed
127
UnrecoverableRollbackError
128
LockNotFound
129
LockStateChangeFailed
130
SymbolNotFound
133
FailedToSatisfyReadPreference
134
ReadConcernMajorityNotAvailableYet
135
StaleTerm
136
CappedPositionLost
137
IncompatibleShardingConfigVersion
138
RemoteOplogStale
139
JSInterpreterFailure
140
InvalidSSLConfiguration
141
SSLHandShakeFailed
142
JSUncatchableError
143
CursorInUse
144
IncompatibleCatalogManager
145
PooledConnectionsDropped
146
ExceededMemoryLimit
147
ZLibError
148
ReadConcernMajorityNotEnabled
149
NoConfigPrimary
150
StaleEpoch
151
OperationCannotBeBatched
152
OplogOutOfOrder
153
ChunkTooBig
154
InconsistentShardIdentity
155
CannotApplyOplogWhilePrimary
157
CanRepairToDowngrade
158
필수 업그레이드
159
DurationOverflow
160
MaxStalenessOutOfRange
161
IncompatibleCollationVersion
162
CollectionIsEmpty
163
ZoneStillInUse
164
InitialSyncActive
165
ViewDepthLimitExceeded
166
CommandNotSupportedOnView
167
OptionNotSupportedOnView
168
InvalidPipelineOperator
169
CommandOnShardedViewNotSupportedOnMongod
170
TooManyMatchingDocuments
171
CanIndexParallelArrays
172
TransportSessionClosed
173
TransportSessionNotFound
174
TransportSessionUnknown
175
QueryPlanKilled
176
파일열기 실패
177
ZoneNotFound
178
RangeOverlapConflict
179
WindowsPdhError
180
BadPerfCounterPath
181
모호한 인덱스 키 패턴
182
InvalidViewDefinition
183
ClientMetadataMissingField
184
ClientMetadataAppNameTooLarge
185
ClientMetadataDocumentTooLarge
186
ClientMetadataCannotBeMutated
187
LinearizableReadConcernError
188
IncompatibleServerVersion
189
PrimarySteppedDown
190
MasterSlaveConnectionFailure
192
FailPointEnabled
193
NoShardingEnabled
194
BalancerInterrupted
195
ViewPipelineMaxSizeExceeded
197
InvalidIndexSpecificationOption
199
ReplicaSetMonitorRemoved
200
ChunkRangeCleanupPending
201
인덱스 키를 빌드할 수 없습니다.
202
NetworkInterfaceExceededTimeLimit
203
ShardingStateNotInitialized
204
TimeProofMismatch
205
ClusterTimeFailsRateLimiter
206
NoSuchSession
207
InvalidUUID
208
TooManyLocks
209
StaleClusterTime
210
CanVerifyAndSignLogicalTime
211
KeyNotFound
212
IncompatibleRollbackAlgorithm
213
DuplicateSession
214
AuthenticationRestrictionUnmet
215
데이터베이스삭제 보류 중
216
ElectionInProgress
217
IncompleteTransactionHistory
218
UpdateOperationFailed
219
FTDCPathNotSet
220
FTDCPathAlreadySet
221
IndexModified
222
CloseChangeStream
223
불법적인 OpMsgFlag
224
QueryFeatureNotAllowed
225
TransactionTooOld
226
AtomicityFailure
227
CanImplicitlyCreateCollection
228
SessionTransferIncomplete
229
필수 다운그레이드
230
DNSHostNotFound
231
DNSProtocolError
232
MaxSubPipelineDepthExceeded
233
TooManyDocumentSequences
234
RetryChangeStream
235
InternalErrorNotSupported
236
ForTestingErrorExtraInfo
237
CursorKilled
238
NotImplemented
239
SnapshotTooOld
240
DNSRecordTypeMismatch
241
변환 실패
242
NotCreateCollection
243
IncompatibleWithUpgradedServer
245
BrokenPromise
246
SnapshotUnavailable
247
ProviderConsumerQueueBatchTooLarge
248
ProviderConsumerQueueEndClosed
249
StaleDbVersion
250
StaleChunkHistory
251
NoSuchTransaction
252
ReentrantencyNotAllowed
253
FreeMonHttpInFlight
254
FreeMonHttpTemporaryFailure
255
FreeMonHttpPermanentFailure
256
TransactionCommitted
257
TransactionTooLarge
258
UnknownFeatureCompatibilityVersion
259
KeyedExecutorRetry
260
잘못된 재개 토큰
261
TooManyLogicalSessions
262
ExceededTimeLimit
263
OperationNotSupportedInTransaction
264
TooManyFilesOpen
265
OrphanedRangeCleanUpFailed
266
FailPointSetFailed
267
PreparedTransactionInProgress
268
백업할 수 없음
269
DataModifiedByRepair
270
복구된 복제본 세트 노드
271
JSInterpreterFailureWithStack
272
MigrationConflict
273
ProviderConsumerQueueProviderrQueueDepthExceeded
274
ProviderConsumerQueueConsumed
275
교환 패스스루
276
IndexBuildAborted
277
경고이미완료
278
UnsatisfiableCommitQuorum
279
ClientDisconnect
280
ChangeStreamFatalError
281
TransactionCoordinatorSteppingDown
282
TransactionCoordinatorReachedAbortDecision
283
WhenChangeOwningShard
284
ForTestingErrorExtraInfoWithExtraInfoInNamespace
285
IndexBuildAlreadyInProgress
286
ChangeStreamHistoryLost
287
TransactionCoordinatorDeadlineTaskCanceled
288
ChecksumMismatch
289
WaitForMajorityServiceEarlierOpTimeAvailable
290
TransactionExceededLifetimeLimitSeconds
291
NoQueryExecutionPlans
292
QueryExceededMemoryLimitNoDiskUseAllowed
293
InvalidSeedList
294
InvalidTopologyType
295
InvalidHeartBEATFrequeency
296
토폴로지 세트 이름 필수
297
HierarchicalAcquisitionLevelViolation
298
InvalidServerType
299
OCSPCertificateStatusRevoked
300
RangeDeletionAbandonedWithCollectionWithUUIDDoesNotExist
301
DataCorruptionDetected
302
OCSPCertificateStatusUnknown
303
분할 수평 변경
304
ShardInvalidatedForTargeting
307
RangeDeletionAbandonedWithTaskDocumentDoesNotExist
308
CurrentConfigNotCommittedYet
309
ExhaustCommandFinished
310
PeriodicJobIsStopped
311
TransactionCoordinatorCanceled
312
OperationIsKilledAndDelisted
313
ResumableRangeDeleterDisabled
314
ObjectIsBusy
315
TooStaleToSyncFromSource
316
QueryTrialRunCompleted
317
ConnectionPoolExpired
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
다운그레이드 불가
333
ServiceExecutorInShutdown
334
MechanismUnavailable
335
TenantMigrationForgotten
9001
SocketException
10003
NotGrowDocumentInCappedNamespace
10107
NotWritablePrimary
10334
BSONObjectTooLarge
11000
DuplicateKey
11600
InterruptedAtShutdown
11601
중단됨
11602
InterruptedDueToReplStateChange
12586
BackgroundOperationInProgressForDatabase
12587
BackgroundOperationInProgressForNamespace
13113
MergeStageNoMatchingDocument
13297
DatabaseDifferCase
13388
StaleConfig
13435
NotPrimaryNoSecondaryOk
13436
NotPrimaryOrSecondary
14031
OutOfDiskspace
46841
ClientMarkedKilled
← 종료 코드 및 상태