Problem :
I want Import the dummy JSON file into my MongoDB but facing below error.
I am unable to understand the below error and so can not find the suitable "simple English" explanation nowhere to understand it by myself, so if you have any solution please send it to me.
The error in detail as below:
$ mongoimport --jsonArray --collection bank_data /Macintosh HD/Users/alecxe/Downloads/bank_data.json/bank_data.json
2019-12-18T13:23:56.592+1200 error validating settings: only one positional argument is allowed
Tried running the OSX -: Mongod started -: Using the /data/db path and connected to my test "All good" -: but running mongoimport from the separate shell gave below
$ mongo --version MongoDB shell version: 3.2.8
$ mongoimport --jsonArray --collection some_data --file /path/path/data.json
$ mongoimport --jsonArray --collection some_data /path/path/data.json