I don’t believe you can use the ‘load’ command in MongoDB Compass. Although if you are going through the Mongo University courses, it is usually recommended to use the built in IDE to do the work.
There will be other things that you can’t do with Compass (ie starting stopping mongodb processes, creating replica sets, and much more). Compass is really just a tool used to view/query data.
I am confused then, because when I download “enterprise” from the courses, it downloads compass so where would I find the built-in IDE?
What data are you trying to load?
The data required for this course is loaded at the creation of cluster (load sample data)
Please review your course material
You can access browser based IDE at the end of each chapter
@Makenna_L , if you go down to the lower-left corner of Compass, there’s a little widget that says >_MONGOSH … click that to get a mongo shell terminal.
Also, I would like to note that in this section there isn’t an IDE like there has been in others. So I can’t access a class IDE, only what I am told to download.
Download legacy mongo shell and load your file
You can load with mongosh also but syntax is different
Check this link