mongodb/node-mongodb-native

Documented errors, page 4 of 4. Back to mongodb/node-mongodb-native

Code / MessageTypeSeverityTags
All values of tls/ssl must be the same.
exception error tls, connection-string, validation
Currently only a ENVIRONMENT in
exception error authentication, oidc, configuration, validation
must be an object with 'username' and 'password' properties
exception error connection-string, authentication, options, type-validation
Use of expired sessions is not permitted
exception error sessions, lifecycle, api-misuse
Status code returned from the Azure endpoint. Response body
exception error authentication, oidc, azure, metadata-service, http, runtime
Client must be connected before running operations
exception error lifecycle, connection, api-misuse
must be either "true" or "false
exception error connection-string, validation, boolean, parsing
Cannot have undefined values in key value pairs
exception error connection-string, validation, auth, parsing
Primary read preference cannot be combined with…
exception error read-preference, validation, max-staleness, invalid-argument
Argument "operations" must be an array of documents
exception error validation, bulk-write, typescript, api-misuse
directConnection option requires exactly one host
exception error connection-string, direct-connection, topology
Expected to be stringified int value, got
exception error connection-string, validation, parsing, integer
Must specify proxyHost if other proxy options are passed
exception error connection-string, proxy, socks, configuration
Operation "limit" requires an integer
exception error find, limit, type-validation
Transactions are not supported in snapshot sessions
exception error sessions, transactions, snapshot, compatibility
URI option " " cannot be specified with no value
exception error connection-string, validation, uri
Cannot have empty URI params in DNS TXT Record
exception error dns, connection-string, srv, txt-record, validation
Cursor options must be an object
exception error aggregation, cursor, api-misuse
maxStalenessSeconds must be a positive integer
exception error read-preference, validation, max-staleness, invalid-argument
Stream end ( ) must not be more than the length of the file…
exception error gridfs, stream, validation, range
No client bulk write models were provided.
exception error bulk-write, validation, api-misuse
Operation "skip" requires an integer
exception error find, skip, type-validation
No transaction started
exception error sessions, transactions, validation, state
Stream start ( ) must not be negative
exception error gridfs, stream, validation, range
Cannot call commitTransaction after calling abortTransaction
exception error sessions, transactions, validation, state, lifecycle
Transaction already in progress
exception error sessions, transactions, validation, state
Malformed response body - missing field `expires_in`.
exception error csfle, azure, kms, testing
Stream start ( ) must not be greater than stream end ( )
exception error gridfs, stream, validation, range
can only be a positive int value, got
exception error connection-string, validation, integer
Can only specify both of proxy username/password or neither
exception error connection-string, proxy, socks, configuration, credentials
Cannot call abortTransaction twice
exception error sessions, transactions, validation, state, lifecycle