Skip to content

Syntax error with server version 5 or 6 #11

@mhelmstetter

Description

@mhelmstetter

Getting this error:

uncaught exception: Error: listCollections failed: {
	"ok" : 0,
	"errmsg" : "BSON field 'listCollections.nameOnly' is the wrong type 'object', expected type 'bool'",
	"code" : 14,
	"codeName" : "TypeMismatch",
	"$clusterTime" : {
		"clusterTime" : Timestamp(1716407879, 545),
		"signature" : {
			"hash" : BinData(0,"+/5clE2UWFD3j4EiXBgQW6Xpcdk="),
			"keyId" : NumberLong("7311807678248910873")
		}
//Main Loop
	},
	"operationTime" : Timestamp(1716407879, 545)
} :
_getErrorWithCode@src/mongo/shell/utils.js:25:13
DB.prototype._getCollectionInfosCommand@src/mongo/shell/db.js:808:15
DB.prototype.getCollectionInfos@src/mongo/shell/db.js:856:16
@mongocacheview.js:19:23
failed to load: mongocacheview.js
exiting with code -3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions