Importig a data set: Lab

Hello!
I am getting below error.

user@M103# mongoimport --port=27000 -u m103-application-user -p m103-application-pass --authenticationDatabase admin -d=applicationData –c=products --file '/dataset/products.json'
2022-05-07T09:34:02.404+0000    error validating settings: incompatible options: --file and positional argument(s)

Check if any space,invalid quotes or hypen
Try to type instead of copy & paste
or use double quotes for file param

1 Like

thanks. I used to type instead of copy/paste and works.