Collection to be used for the Chapter 2 Bringing it all together lab

Am I supposed to be using mflix.movieDetails for the Chapter 2 Lab - Bringing it all together?
I get the following error when I try to query the collection. Please assist.

MongoDB Enterprise Cluster0-shard-0:PRIMARY> db.movieDetails.find()
Error: error: {
“operationTime” : Timestamp(1574043708, 1),
“ok” : 0,
“errmsg” : “not authorized on mflix to execute command { find: “movieDetails”, filter: {}, lsid: { id: UUID(“e9af100d-5af1-4a69-9f28-3aebc5070ef5”) }, $clusterTime: { clusterTime: Timestamp(1574043698, 1), signature: { hash: BinData(0, 3520236F4A079DEEB0E374F7526FC23AE505AF8D), keyId: 6730992026675838977 } }, $db: “mflix” }”,
“code” : 13,
“codeName” : “Unauthorized”,
“$clusterTime” : {
“clusterTime” : Timestamp(1574043708, 1),
“signature” : {
“hash” : BinData(0,“ywVzUSyVABKfJRCBZlyNqZpbOIg=”),
“keyId” : NumberLong(“6730992026675838977”)
}
}
}

This entire course is centred on the aggregations database.

2 Likes

Thanks! It works now.

:slightly_smiling_face::+1: