Error in 'Importing Data' step

Running command:

mongorestore --drop --gzip --uri mongodb+srv://m220student:m220password@&<YOUR_CLUSTER_URI> data
gives error:

2019-03-15T21:09:27.807+0530 using default ‘dump’ directory
2019-03-15T21:09:27.811+0530 see mongorestore --help for usage information
2019-03-15T21:09:27.812+0530 Failed: mongorestore target ‘dump’ invalid: CreateFile dump: The system cannot find the file specified.

Also, running mvn clean install has test failures.

try running this command from the location where mflix/date is located

You mean inside mflix/data?

yes cd to that location and then try.

You atually have to change YOUR_CLUSTER_URI with your cluster URI.

That I did in my case.

Run in mflix. Since you specify data as the directory and data is a subdirectory of mflix.

Hi i’m getting this error .

C:\Users\karo8003\M001\mflix-java\mflix>mongorestore --drop --gzip --uri <mongo “mongodb+srv://”>data
The system cannot find the file specified.

Please check our forums
Others posted this.You have to modify connect string userid/pwd etc as per yours
For reference only
mongorestore --drop --gzip --uri mongodb+srv:// data

I was able to follow the instructions available in Command Line Tools.

The option is available by clicking on … within the project in Atlas