title: Importing your data into MongoDB Atlas
body: <p>Trying to import a JSON file </p>
  
  <p>Mongodb Version -- V3.6.3</p>
  
  <p>Shell Version 3.6</p>
  
  <p>Using this command to connect to cluster and import</p>
  
  <pre><code>mongoimport --host cluster0-shard-00-00-xxm0e.mongodb.net:24537 --db ny --type json --file C:/data/docs/ny.json --jsonArray --authenticationDatabase admin --ssl --username xyz --password mongodb
  </code></pre>
  
  <p>error message</p>
  
  <pre><code>2018-03-03T22:53:45.477-0800    no collection specified
  2018-03-03T22:53:45.478-0800    using filename 'ny' as collection
  2018-03-03T22:53:46.062-0800    Failed: error connecting to db server: server` returned error on SASL authentication step: bad auth Authentication failed.
  2018-03-03T22:53:46.062-0800    imported 0 documents
  </code></pre>
  
  <p>Have tried a few options like
  removing -ssl
  adding ----sslAllowInvalidCertificates
  Adding " C:/data/docs/ny.json" to file name 
  and none of these works.. Any help appreciated</p>