Error map

Cannot change the size of a document in a capped collection MongoServerError: Cannot change the size of a document in a capped collection: 150 != 120

MongoDB · layer 5, Data

Open the full error page →

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.

Cannot change the size of a document in a capped collection — MongoServerError: Cannot change the size of a document in a capped collection: 150 != 120 (MongoDB)Cannot chan…Sort/Group exceeded memory limit of 100 MB (allowDiskUse) — MongoServerError: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in (MongoDB)Sort/Group exceeded…BSONObj size is invalid / exceeds maximum document size (16MB) — MongoServerError: BSONObj size: 17825792 (0x1100000) is invalid. Size must be between 0 and 16793600(16MB) (MongoDB)BSONObj size is inv…Not enough free space to install macOS update — macOS: There is not enough available storage to install this update / Installation of macOS could not continue (macOS)Not enough free spa…Atlas: bad auth: Authentication failed — MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password) (MongoDB)Atlas: bad auth: Au…NamespaceExists: Collection already exists — MongoServerError: Collection db.users already exists (NamespaceExists) (MongoDB)NamespaceExists: Co…Software Update: Installation failed / an error occurred while installing — An error occurred preparing the update. Failed to verify / "macOS could not be installed on your computer" (macOS)Software Update: In…E: Failed to fetch ... Hash Sum mismatch — E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/main/binary-amd64/Packages.gz Hash Sum mismatch Hashes of expected file: SHA256:... (Linux)E: Failed to fetch …TTL index not deleting documents — (behavior) expireAfterSeconds set but documents remain (MongoDB)TTL index not delet…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)Query for sharded c…The dollar ($) prefixed field '$x' in 'y' is not allowed in the context of an update's replacement document — MongoServerError: Updating the path 'a.b' would create a conflict at 'a' (MongoDB)The dollar ($) pref…VPN won't connect after macOS update (system extension / profile) — The VPN connection failed because the network extension could not be loaded (macOS)VPN won't connect a…OOMKilled — Kubernetes: OOMKilled (exit code 137) (Kubernetes)OOMKilledSIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVOOM killer — Killed / Out of memory: Killed process (Linux OOM killer) (Linux)OOM killerEMFILE — Too many open files (EMFILE) (Linux)EMFILEbuffering timed out — MongooseError: Operation `users.find()` buffering timed out after 10000ms (Node.js)buffering timed outMongoServerSelectionError — MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 (Node.js)MongoServerSelectio…ENOSPC — no space left on device (Docker / Linux) (Docker)ENOSPCHomebrew: No available formula with the name — Homebrew: Error: No available formula with the name "x". Did you mean ...? (macOS)Homebrew: No availa…Your Command Line Tools are too outdated — Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS (macOS)Your Command Line T…E11000 duplicate key — MongoServerError: E11000 duplicate key error collection: db.users index: email_1 dup key (Node.js)E11000 duplicate keyNOAUTH — ReplyError: NOAUTH Authentication required. (Node.js)NOAUTHECR token expired — denied: Your authorization token has expired. Reauthenticate and try again. (Amazon ECR) (AWS)ECR token expiredRuntimeError dict — RuntimeError: dictionary changed size during iteration (Python)RuntimeError dictunhashable type — TypeError: unhashable type: 'list' (Python)unhashable typeDocument failed validation — MongoDB: MongoServerError: Document failed validation (code 121) (MongoDB)Document failed val…Automatic Repair couldn't repair your PC — Automatic Repair couldn't repair your PC — Log file: C:\Windows\System32\Logfiles\Srt\SrtTrail.txt (Windows)Automatic Repair co…Lost commits after git reset --hard (recover with reflog) — HEAD is now at a1b2c3d Old commit (Git)Lost commits after …Commit unreachable after gc (reflog expired) — error: Could not read 4b825dc642cb6eb9a060e54bf8d69288fbee4904 / bad object after git gc (Git)Commit unreachable …Unable to locate package — E: Unable to locate package (apt / apt-get install) (Linux)Unable to locate pa…Sub-process /usr/bin/dpkg returned an error code (1) — E: Sub-process /usr/bin/dpkg returned an error code (1) (Linux)Sub-process /usr/bi…dpkg was interrupted — E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem (Linux)dpkg was interruptedSEC_ERROR_EXPIRED_CERTIFICATE — Firefox: Peer's Certificate has expired. Error code: SEC_ERROR_EXPIRED_CERTIFICATE (SSL / TLS)SEC_ERROR_EXPIRED_C…verify error:num=10: certificate has expired — OpenSSL: verify error:num=10:certificate has expired — notAfter=Jan 1 00:00:00 2025 GMT (SSL / TLS)verify error:num=10…createIndex failed: unique index with duplicates — MongoServerError: Index build failed: E11000 duplicate key error collection: db.users index: email_1 dup key (MongoDB)createIndex failed:…NoSuchTransaction: Transaction was aborted or expired — MongoServerError: Transaction 1 has been aborted / NoSuchTransaction: transaction has expired (transactionLifetimeLimitSeconds) (MongoDB)NoSuchTransaction: …Could not find host matching read preference — MongoServerSelectionError: Could not find host matching read preference { mode: "secondary" } for set rs0 (MongoDB)Could not find host…Jumbo chunk cannot be moved (balancer) — Chunk marked as jumbo / moveChunk failed: chunk too big to move (MongoDB)Jumbo chunk cannot …Mongoose: Model.find() no longer accepts a callback — MongooseError: Model.find() no longer accepts a callback (MongoDB)Mongoose: Model.fin…Windows has detected an IP address conflict — Networking: Windows has detected an IP address conflict / Duplicate address detected by 00:aa:bb:cc:dd:ee (Networking)Windows has detecte…Error: Could not symlink bin/x — Target /usr/local/bin/x already exists — Error: Could not symlink bin/python3 Target /usr/local/bin/python3 already exists and is not a symlink to /usr/local/Cellar/... (macOS)Error: Could not sy…System software from "x" was blocked from loading — macOS: System Extension Blocked — A program tried to load new system extension(s) / System software was blocked from loading (macOS)System software fro…Camera/Microphone access denied (TCC) — macOS: avfoundation: Could not start capture / "Terminal" does not have access to the camera or microphone — tccd denied (macOS)Camera/Microphone a…Connections hang on large transfers (PMTU black hole) — Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole (Networking)Connections hang on…

Directly related (11)

Sort/Group exceeded memory limit of 100 MB (allowDiskUse)MongoDB

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.

BSONObj size is invalid / exceeds maximum document size (16MB)MongoDB

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.

Not enough free space to install macOS updatemacOS

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.

Atlas: bad auth: Authentication failedMongoDB

MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password)

Atlas rejected the username/password in the connection string.

NamespaceExists: Collection already existsMongoDB

MongoServerError: Collection db.users already exists (NamespaceExists)

`createCollection` (or an index/rename) targeted a name that is already in use.

Software Update: Installation failed / an error occurred while installingmacOS

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 ... Hash Sum mismatchLinux

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.

TTL index not deleting documentsMongoDB

(behavior) expireAfterSeconds set but documents remain

The TTL monitor deletes lazily and only on valid date fields.

Query for sharded collection must contain the shard keyMongoDB

MongoServerError: Query for sharded findAndModify must contain the shard key / Must run update to shard key

A write on a sharded collection lacks the shard key.

The dollar ($) prefixed field '$x' in 'y' is not allowed in the context of an update's replacement documentMongoDB

MongoServerError: Updating the path 'a.b' would create a conflict at 'a'

Update operators or field names conflict.

VPN won't connect after macOS update (system extension / profile)macOS

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 (33)

OOMKilledKubernetes

Kubernetes: OOMKilled (exit code 137)

The container used more memory than its limit, and the kernel killed it.

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

OOM killerLinux

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).

EMFILELinux

Too many open files (EMFILE)

The process hit its file-descriptor limit — sockets, files and pipes all count.

buffering timed outNode.js

MongooseError: Operation `users.find()` buffering timed out after 10000ms

Mongoose queued a query waiting for a connection that never opened.

MongoServerSelectionErrorNode.js

MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017

The MongoDB driver couldn’t find a reachable server for the connection string.

ENOSPCDocker

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: No available formula with the namemacOS

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.

Your Command Line Tools are too outdatedmacOS

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.

E11000 duplicate keyNode.js

MongoServerError: E11000 duplicate key error collection: db.users index: email_1 dup key

An insert/update violated a unique index in MongoDB.

NOAUTHNode.js

ReplyError: NOAUTH Authentication required.

The Redis server requires a password (or ACL user) but the client didn’t authenticate.

ECR token expiredAWS

denied: Your authorization token has expired. Reauthenticate and try again. (Amazon ECR)

Docker’s login to Amazon ECR has expired — ECR tokens last 12 hours, so pushes and pulls fail until you log in again.

RuntimeError dictPython

RuntimeError: dictionary changed size during iteration

A dict (or set) was modified while being looped over.

unhashable typePython

TypeError: unhashable type: 'list'

A mutable object (list, dict, set) was used as a dict key or set member.

Document failed validationMongoDB

MongoDB: MongoServerError: Document failed validation (code 121)

The collection has a JSON Schema validator and the inserted/updated document doesn’t satisfy it.

Automatic Repair couldn't repair your PCWindows

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.

Lost commits after git reset --hard (recover with reflog)Git

HEAD is now at a1b2c3d Old commit

A hard reset moved the branch back and your newer commits look gone.

Commit unreachable after gc (reflog expired)Git

error: Could not read 4b825dc642cb6eb9a060e54bf8d69288fbee4904 / bad object after git gc

A dropped commit was removed because it was unreachable and expired.

Unable to locate packageLinux

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…

Sub-process /usr/bin/dpkg returned an error code (1)Linux

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.

dpkg was interruptedLinux

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…

SEC_ERROR_EXPIRED_CERTIFICATESSL / TLS

Firefox: Peer's Certificate has expired. Error code: SEC_ERROR_EXPIRED_CERTIFICATE

Firefox found an expired certificate in the chain presented by the server.

verify error:num=10: certificate has expiredSSL / TLS

OpenSSL: verify error:num=10:certificate has expired — notAfter=Jan 1 00:00:00 2025 GMT

OpenSSL's verification found a certificate in the chain whose validity period has ended.

createIndex failed: unique index with duplicatesMongoDB

MongoServerError: Index build failed: E11000 duplicate key error collection: db.users index: email_1 dup key

You tried to build a unique index but existing documents already contain duplicate values.

NoSuchTransaction: Transaction was aborted or expiredMongoDB

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.

Could not find host matching read preferenceMongoDB

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.

Jumbo chunk cannot be moved (balancer)MongoDB

Chunk marked as jumbo / moveChunk failed: chunk too big to move

A chunk grew too large to migrate.

Mongoose: Model.find() no longer accepts a callbackMongoDB

MongooseError: Model.find() no longer accepts a callback

Mongoose 7+ removed callback support from queries; they return promises.

Windows has detected an IP address conflictNetworking

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.

Error: Could not symlink bin/x — Target /usr/local/bin/x already existsmacOS

Error: Could not symlink bin/python3 Target /usr/local/bin/python3 already exists and is not a symlink to /usr/local/Cellar/...

A file from another installer blocks Homebrew's symlink.

System software from "x" was blocked from loadingmacOS

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.

Camera/Microphone access denied (TCC)macOS

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.

Connections hang on large transfers (PMTU black hole)Networking

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.