Cannot connect to loadMovieDetailsDataset.js file

I am on Chapter 2.
Trying to load this .js file using Terminal application on Mac OS.

I get this error :
MongoDB Enterprise Cluster0-shard-0:PRIMARY> load(“loadMovieDetailsDataset.js”)
2019-07-07T16:42:04.104-0400 E QUERY [js] [src/mongo/shell/utils.js:25:13] Error: drop failed: {
“operationTime” : Timestamp(1562532120, 1),
“ok” : 0,
“errmsg” : “not authorized on video to execute command { drop: “movieDetails”, lsid: { id: UUID(“d87e16f6-bc77-4e40-a6e9-0a146c972e6d”) }, $clusterTime: { clusterTime: Timestamp(1562532030, 1), signature: { hash: BinData(0, 1250D5A309E7D3EBF80C0E33D9C3A752B1F06EBA), keyId: 6661714504839069697 } }, $db: “video” }”,
“code” : 13,
“codeName” : “Unauthorized”,
“$clusterTime” : {
“clusterTime” : Timestamp(1562532120, 1),
“signature” : {
“hash” : BinData(0,“GxWNaCZUPoohQaLJWDrOxthYwWo=”),
“keyId” : NumberLong(“6661714504839069697”)
Stack trace:

2019-07-07T16:42:04.104-0400 E QUERY [js] Error: error loading js file: loadMovieDetailsDataset.js @(shell):1:1
MongoDB Enterprise Cluster0-shard-0:PRIMARY>

How do I resolve ?

Please double check that you are connected to the right cluster
You have to load it in your own sandbox cluster
Most likely you connected to class cluster which is a read only DB
Hence the message

“errmsg” : “not authorized on video to execute command { drop:

Ugh! The connection strings are horrible! And the error messages are inscrutable. I actually built a cluster and loaded the sample data, from the documentation, but apparently this screwed up the course a bit.

I am now trying to do the whole thing over on Windows 10 at work, but unfortunately I will need Admin rights on my PC to get anywhere. My boss is willing right now! There is no point in doing this on Mac at the moment since I have much more time, a better internet connection, and better air conditioning at work. But now I have to start over on the course.

I had the IT guy download and install the MSI, but it appears not to include Compass, and in any case I need Admin rights to get the PATH in there. (I have hated Windows for about 20 years!)

Hi @Sandra_Greer_77107,

I can understand your frustration. However, I would recommend you to take M001: MongoDB Basics again which starts from 16 July, 2019 17:00 UTC.

If you face any issues during the course, please share the command that you were trying to run along with the screenshot of the error message.

Good luck!!