Error map
Query for sharded collection must contain the shard key MongoServerError: Query for sharded findAndModify must contain the shard key / Must run update to shard key
MongoDB · layer 5, Data
Centre: this error. First ring: errors it is linked with (11). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.
Directly related (11)
MongoServerError: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in
An aggregation stage needed more than 100 MB of RAM and spilling to disk wasn't enabled.
MongoServerError: BSONObj size: 17825792 (0x1100000) is invalid. Size must be between 0 and 16793600(16MB)
A single document (or an aggregation result row) grew past MongoDB's 16 MB limit.
macOS: There is not enough available storage to install this update / Installation of macOS could not continue
Software Update needs several GB of free space (often 25-35 GB) to download and stage the update.
MongoServerError: Transaction 1 has been aborted / NoSuchTransaction: transaction has expired (transactionLifetimeLimitSeconds)
A transaction ran longer than the allowed lifetime (60 s default) or was aborted, so later operations fail.
MongoServerSelectionError: Could not find host matching read preference { mode: "secondary" } for set rs0
The requested read preference (secondary, nearest with tags) matches no available member.
An error occurred preparing the update. Failed to verify / "macOS could not be installed on your computer"
A macOS update failed to download or install.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-amd64/Packages.gz Hash Sum mismatch Hashes of expected file: SHA256:...
The downloaded index doesn't match its checksum.
Chunk marked as jumbo / moveChunk failed: chunk too big to move
A chunk grew too large to migrate.
MongoServerError: Cannot change the size of a document in a capped collection: 150 != 120
Capped collections forbid size-changing updates and deletes.
MongoServerError: Updating the path 'a.b' would create a conflict at 'a'
Update operators or field names conflict.
The VPN connection failed because the network extension could not be loaded
A VPN app's network extension was disabled by an update.
Two steps away (30)
Kubernetes: OOMKilled (exit code 137)
The container used more memory than its limit, and the kernel killed it.
Segmentation fault (core dumped)
A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).
Killed / Out of memory: Killed process (Linux OOM killer)
The kernel ran out of memory and killed a process to recover — the program just prints “Killed” (exit code 137).
Too many open files (EMFILE)
The process hit its file-descriptor limit — sockets, files and pipes all count.
MongooseError: Operation `users.find()` buffering timed out after 10000ms
Mongoose queued a query waiting for a connection that never opened.
MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017
The MongoDB driver couldn’t find a reachable server for the connection string.
no space left on device (Docker / Linux)
The disk (or inode table) is full — Docker images, build cache, logs and volumes are common culprits.
Homebrew: Error: No available formula with the name "x". Did you mean ...?
Homebrew can't find a formula or cask with that name in the taps it knows.
Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS
Homebrew requires a newer Command Line Tools version than the one installed.
MongoServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted
Atlas rejects connections from IP addresses that aren't in the project's Network Access list.
MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password)
Atlas rejected the username/password in the connection string.
MongoServerError: WriteConflict error: this operation conflicted with another operation. Please retry your operation or multi-document transaction
Two operations tried to modify the same document at once; one was aborted with a transient error.
MongoServerError: Transaction numbers are only allowed on a replica set member or mongos
You started a transaction (or used retryWrites) on a standalone MongoDB server, which doesn't support them.
MongoServerError: not primary and secondaryOk=false / NotWritablePrimary: not master
A write (or read without secondary preference) hit a secondary — the primary changed or you connected directly to a secondary.
MongoServerSelectionError: Server selection timed out after 30000 ms — topology type ReplicaSetNoPrimary
The driver sees the replica set members but none is a primary (election failing or members unreachable).
Automatic Repair couldn't repair your PC — Log file: C:\Windows\System32\Logfiles\Srt\SrtTrail.txt
Windows failed to boot repeatedly and Startup Repair couldn’t fix it; SrtTrail.txt records the root cause it found.
HEAD is now at a1b2c3d Old commit
A hard reset moved the branch back and your newer commits look gone.
error: Could not read 4b825dc642cb6eb9a060e54bf8d69288fbee4904 / bad object after git gc
A dropped commit was removed because it was unreachable and expired.
E: Unable to locate package (apt / apt-get install)
apt can’t find the package name in its package lists — the lists are stale, the repository isn’t enabled, or the name is wrong fo…
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package’s install/configure script failed, so dpkg aborted. The real error is a few lines above this message.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
A previous package operation stopped halfway (closed terminal, reboot, power loss), and apt refuses to continue until it’s finish…
MongoDB: connection refused / timed out from a remote host — mongod bindIp defaults to 127.0.0.1
MongoDB only listens on localhost by default, so remote clients can't connect.
MongoServerError: Collection db.users already exists (NamespaceExists)
`createCollection` (or an index/rename) targeted a name that is already in use.
(behavior) expireAfterSeconds set but documents remain
The TTL monitor deletes lazily and only on valid date fields.
MongoDB: MongoServerError: Document failed validation (code 121)
The collection has a JSON Schema validator and the inserted/updated document doesn’t satisfy it.
MongooseError: Model.find() no longer accepts a callback
Mongoose 7+ removed callback support from queries; they return promises.
Networking: Windows has detected an IP address conflict / Duplicate address detected by 00:aa:bb:cc:dd:ee
Two devices on the same network are using the same IP address, so traffic reaches the wrong one or neither.
macOS: System Extension Blocked — A program tried to load new system extension(s) / System software was blocked from loading
macOS blocked a kernel/system extension (VPN, virtualization, drivers) until you approve it.
macOS: avfoundation: Could not start capture / "Terminal" does not have access to the camera or microphone — tccd denied
Privacy (TCC) blocks the app or terminal from the camera or microphone until you allow it.
Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole
Small packets pass but full-size ones vanish, so logins work and then transfers or page loads stall.