Error map
Transaction numbers are only allowed on a replica set member or mongos MongoServerError: Transaction numbers are only allowed on a replica set member or mongos
MongoDB · layer 5, Data
Centre: this error. First ring: errors it is linked with (8). 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 (8)
MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017
The MongoDB driver couldn’t find a reachable server for the connection string.
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.
MongoServerError: already initialized (rs.initiate on a configured replica set)
`rs.initiate()` was called on a node that already has a replica set configuration.
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 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: 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).
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.
MongoDB: replSetInitiate quorum check failed: Could not connect to mongo2:27017 / No host described in new configuration 1 for replica set rs0 maps to this node
`rs.initiate()`/`rs.add()` couldn't reach a listed member or the config doesn't include the current node's hostname.
Two steps away (17)
Error: connect ECONNREFUSED 127.0.0.1:5432
Nothing is listening at that host:port — the target service is down or you’re connecting to the wrong address.
MongooseError: Operation `users.find()` buffering timed out after 10000ms
Mongoose queued a query waiting for a connection that never opened.
CastError: Cast to ObjectId failed for value "x" (type string) at path "_id"
A value that isn’t a valid 24-hex-character ObjectId was used in an _id query.
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.
MongoDB: We are too stale to use X as a sync source / replSet too stale to catch up — member in RECOVERING state
A secondary fell so far behind that the primary's oplog no longer covers the gap, so it can't resync by replaying.
MongoServerError: E11000 duplicate key error collection: db.users index: email_1 dup key
An insert/update violated a unique index in MongoDB.
ConditionalCheckFailedException: The conditional request failed
A write’s ConditionExpression evaluated to false, so DynamoDB didn’t perform it — often exactly as designed.
Operation cannot be fulfilled on deployments.apps "x": the object has been modified; please apply your changes to the latest version and try again
Optimistic-concurrency conflict: the object changed (new resourceVersion) between when you read it and when you tried to update i…
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: 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.
MongoDB: MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017
The driver couldn't connect to a MongoDB server on localhost:27017 — nothing is listening there.
MongoServerError: cursor id 1234567890 not found (CursorNotFound)
A cursor you were iterating timed out or was killed on the server, so the next batch fails.
Redis: READONLY You can't write against a read only replica
The client is connected to a replica (or a failed-over node) and tried to write.
ECS task stopped: CannotPullContainerError: pull image manifest has been retried ... / ref pull has been retried
The ECS task couldn’t pull its image — no network route to the registry, missing ECR permissions, or a wrong image tag.
Error response from daemon: network X not found
The container or Compose project refers to a Docker network that doesn’t exist (any more).
Error response from daemon: Pool overlaps with other one on this address space
Docker tried to create a network whose subnet clashes with an existing Docker network (or a VPN/host route).
Map another error
Popular: 500403400ORA-009331064Critical errorFileNotFoundException assemblyTypeError