Skip to content

All MongoDB errors

Every error in the library, by number and alphabetically. 18 errors so far.

By error number

  1. 2 BadValue: unknown operator and other invalid query values
  2. 6 HostUnreachable: Error connecting to a member, shard or host
  3. 9 FailedToParse: an option or stage specification is malformed
  4. 13 not authorized on database to execute command
  5. 18 Authentication failed
  6. 26 NamespaceNotFound: ns does not exist or ns not found
  7. 48 NamespaceExists: collection already exists
  8. 50 operation exceeded time limit (MaxTimeMSExpired)
  9. 66 Performing an update on the path '_id' would modify the immutable field '_id'
  10. 85 IndexOptionsConflict: an equivalent index already exists (and 86 IndexKeySpecsConflict)
  11. 89 NetworkTimeout: a network operation between MongoDB processes timed out
  12. 112 WriteConflict: please retry your operation or multi-document transaction
  13. 121 Document failed validation
  14. 251 NoSuchTransaction: transaction has been aborted
  15. 292 Sort exceeded memory limit, but did not opt in to external sorting
  16. 10107 NotWritablePrimary: not primary (and 13435 not primary and secondaryOk=false)
  17. 11000 E11000 duplicate key error
  18. driver Server selection timed out (MongoServerSelectionError, ServerSelectionTimeoutError, MongoTimeoutException)

A to Z by message

A

B

D

E

F

H

I

N

O

P

S

W