Mongosh : ReferenceError: load is not defined

Hi, When I connected to the cluster and try to load the js file.
it’s returning a error.
ReferenceError: load is not defined

Check this link

Mongo shell - cant load loadMovieDetailsDataset.js

Hi @Injamul_Mohammad_Mollah,

I hope you found @Ramachandra_37567’s response helpful. Also, please make sure that you are running this command in the mongo shell.

~ Shubham

1 Like

It’s was the problem with mongo shell binary application.
I reinstalled mongoshell from Deb file and it fixed.
Thanks for help. :+1: