133 — FailedToSatisfyReadPreference

queryconfiguration

MongoDB could not parse the input — check syntax and format

What is happening?

FailedToParse indicates that MongoDB received input it could not parse. This covers malformed BSON documents, invalid command syntax, bad JSON in configuration, unparseable date strings, and corrupted wire protocol messages.

Common causes

  1. Malformed JSON or BSON document
  2. Invalid date format in a query or update
  3. Incorrectly escaped strings in a query
  4. Corrupted data in the wire protocol (rare)
  5. Using JavaScript syntax in a context that expects strict JSON

Source code references

ErrorCodes::FailedToSatisfyReadPreference found in 12 locations in the MongoDB server source.

Diagnostic Steps