Unable to import the data from atlas cluster using mongoimport command

mongoimport --uri= “mongodb+srv://m001-student:m001-mongodb-basics@sandbox.yikjx.mongodb.net/myFirstDatabase” sales.json

I am using the same command in my windows powershell but I am getting a below error:

“uncaught exception: SyntaxError: unexpected token: identifier :”

I don’t know what I did wrong. Its really suffer my forward learning so kindly help me…

Thanks

The error

looks more like a mongo shell error rather than a powershell error.

I suggest that you exit the mongo shell first.