Error map

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 · layer 5, Data

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). 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.

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 …Document failed validation — MongoDB: MongoServerError: Document failed validation (code 121) (MongoDB)Document failed val…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…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…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…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 …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…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 change the s…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…1146 — MySQL ERROR 1146 (42S02): Table 'db.table' doesn't exist (MySQL)11461054 — MySQL ERROR 1054 (42S22): Unknown column in 'field list' (MySQL)105442P01 — PostgreSQL: ERROR: relation "x" does not exist (PostgreSQL)42P01OOMKilled — 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…Mongoose ValidationError — ValidationError: User validation failed: email: Path `email` is required. (Node.js)Mongoose Validation…OverwriteModelError: Cannot overwrite model once compiled — Mongoose: OverwriteModelError: Cannot overwrite `User` model once compiled. (MongoDB)OverwriteModelError…MissingSchemaError: Schema hasn't been registered for model — Mongoose: MissingSchemaError: Schema hasn't been registered for model "User". Use mongoose.model(name, schema) (MongoDB)MissingSchemaError:…Network cable unplugged / NO-CARRIER — Networking: Network cable unplugged / `ip link` shows NO-CARRIER state DOWN / Ethernet: Network cable unplugged (Networking)Network cable unplu…arp -a shows (incomplete) — Networking: `arp -n` shows (incomplete) / Destination Host Unreachable — no ARP reply from the next hop (Networking)arp -a shows (incom…Windows: Default gateway is not available — Networking: Windows: Default gateway is not available / Diagnose Connection Problems: DHCP not enabled (Networking)Windows: Default ga…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 expiredAutomatic 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…git: 'xyz' is not a git command. See 'git --help' — git: 'sttaus' is not a git command. See 'git --help'. The most similar command is status (Git)git: 'xyz' is not a…This repository is configured for Git LFS but 'git-lfs' was not found — This repository is configured for Git LFS but 'git-lfs' was not found on your path. (Git)This repository is …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 interruptedNoSuchTransaction: 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 …NamespaceExists: Collection already exists — MongoServerError: Collection db.users already exists (NamespaceExists) (MongoDB)NamespaceExists: Co…TTL index not deleting documents — (behavior) expireAfterSeconds set but documents remain (MongoDB)TTL index not delet…command not found — bash: command not found (Linux)command not foundPython not found — Python was not found; run without arguments to install from the Microsoft Store (Python)Python not foundzsh: command not found: brew — macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon) (macOS)zsh: command not fo…

Directly related (12)

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.

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.

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.

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.

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.

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.

Cannot change the size of a document in a capped collectionMongoDB

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

Capped collections forbid size-changing updates and deletes.

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.

Two steps away (35)

1146MySQL

MySQL ERROR 1146 (42S02): Table 'db.table' doesn't exist

The query references a table that MySQL can’t find in that database.

1054MySQL

MySQL ERROR 1054 (42S22): Unknown column in 'field list'

The query references a column that doesn’t exist in the table (or an unquoted string being read as a column).

42P01PostgreSQL

PostgreSQL: ERROR: relation "x" does not exist

The table/view isn’t found — missing migration, wrong schema, or a case-sensitive quoted name.

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.

Mongoose ValidationErrorNode.js

ValidationError: User validation failed: email: Path `email` is required.

A document failed Mongoose schema validation before saving.

OverwriteModelError: Cannot overwrite model once compiledMongoDB

Mongoose: OverwriteModelError: Cannot overwrite `User` model once compiled.

`mongoose.model('User', schema)` was called twice with the same name, typically from hot reloading.

MissingSchemaError: Schema hasn't been registered for modelMongoDB

Mongoose: MissingSchemaError: Schema hasn't been registered for model "User". Use mongoose.model(name, schema)

You used `populate()`/`ref` for a model that hasn't been registered yet.

Network cable unplugged / NO-CARRIERNetworking

Networking: Network cable unplugged / `ip link` shows NO-CARRIER state DOWN / Ethernet: Network cable unplugged

The network card sees no electrical link, so nothing above it (IP, DNS, browser) can work.

arp -a shows (incomplete)Networking

Networking: `arp -n` shows (incomplete) / Destination Host Unreachable — no ARP reply from the next hop

The machine asked "who has this IP?" and nobody on the local network answered.

Windows: Default gateway is not availableNetworking

Networking: Windows: Default gateway is not available / Diagnose Connection Problems: DHCP not enabled

The PC can't reach its router, so it has no path out of the local network.

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.

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.

git: 'xyz' is not a git command. See 'git --help'Git

git: 'sttaus' is not a git command. See 'git --help'. The most similar command is status

You mistyped a Git subcommand, or an external tool isn't installed.

This repository is configured for Git LFS but 'git-lfs' was not foundGit

This repository is configured for Git LFS but 'git-lfs' was not found on your path.

The repo uses LFS hooks but the git-lfs binary isn't installed.

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…

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.

NamespaceExists: Collection already existsMongoDB

MongoServerError: Collection db.users already exists (NamespaceExists)

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

TTL index not deleting documentsMongoDB

(behavior) expireAfterSeconds set but documents remain

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

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

Python not foundPython

Python was not found; run without arguments to install from the Microsoft Store

Windows ran the Microsoft Store “App execution alias” instead of a real Python installation.

zsh: command not found: brewmacOS

macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon)

Homebrew is installed in /opt/homebrew on Apple Silicon Macs, which isn’t on PATH until you add its shellenv line.