126 — RPCProtocolNegotiationFailed
queryconfiguration
An unknown or invalid aggregation pipeline operator was used
What is happening?
InvalidPipelineOperator is returned when an aggregation pipeline contains a stage or expression operator that the server does not recognise. This typically indicates a misspelled operator name, a stage available only in a newer server version, or using a query operator inside an aggregation context where it is not valid.
Common causes
- Typo in a pipeline stage name (e.g. $groupBy instead of $group)
- Using an aggregation stage introduced in a newer server version
- Confusing query operators with aggregation expression operators
- Using Atlas-only operators ($search, $vectorSearch) on a self-managed deployment