Error when attempting to run load('loadMovieDetailsDataset.js')/ syntax error near unexpected token `'loadMovieDetailsDataset.js''?

Hi all

Can anyone shed any light on this please?
Screenshot 2020-03-10 at 19.22.00

The load() command has to be run while connected to a server from the mongo shell.

Hi @Wayne_Pegg_06590,

As @steevej-1495 mentioned, please connect to your sandbox cluster first and then run the load() method from the mongo shell for loading the dataset. The same has been mentioned in the Lecture notes as well.

Hope it helps!

Thanks,
Shubham Ranjan
Curriculum Services Engineer

2 Likes

Hi Shubham

Thanks so much for your reply. A long day yesterday and not enough caffeine! Thanks again.

Kindest regards,

Wayne

Thanks @steevej-1495 :slight_smile: