EC
πŸƒ

MongoDB Error Codes

MongoDB 735 codes

Numeric error codes with driver fix examples

Showing 35 of 35 errors
CodeMessage
2Invalid BSON field value provided→
9Failed to parse a query or expression→
11User was not found for authentication→
13Not authorized to perform an action→
14Field path does not exist or holds a non-object value→
18Authentication failed due to incorrect credentials→
20An attempted operation is not supported→
22The provided BSON is invalid→
24A lock could not be acquired in the specified time→
26The specified collection or view does not exist→
27The specified index does not exist→
40Update operators conflict with each other→
43The specified cursor ID is not found on the server→
50Operation exceeded the specified time limit→
51Manual intervention required to safely resolve→
59The specified command does not exist→
64Write operation failed to satisfy the write concern→
66Attempted to modify an immutable field→
67Failed to create an index with the specified options→
68Attempted to create an index that already exists with different options→
72The command was given invalid options→
73The provided namespace (database or collection name) is invalid→
89A network operation timed out→
91The server is shutting down→
96A generic operation failure occurred→
112A conflict occurred during a write operation→
121Document failed to pass schema validation→
125The command has failed→
211A required encryption key was not found→
237The cursor was killed by another operation→
241Failed to convert a value to a different type→
251The specified transaction does not exist→
262Operation exceeded the transaction time limit→
11000Duplicate key error — unique index constraint violated→
13388Sharding configuration is stale→