title: mongoimport json file error
body: <p>I'm trying to import my json file to a db using the following command:</p>
  
  <pre><code>mongoimport --db db_name --collection collection_name file.json --jsonArray
  </code></pre>
  
  <p>But it's not working, and I'm getting this error:</p>
  
  <pre><code>Tue Oct 21 15:42:20.176 check 0 0
  Tue Oct 21 15:42:20.176 imported 0 objects
  Tue Oct 21 15:42:20.176 ERROR: encountered 1 error(s)
  </code></pre>
  
  <p>I'm using MongoDB 2.4.9. Any help? Thanks.</p>
  
  <p>EDIT: 
  adding -vvvv to the command results in the following:</p>
  
  <pre><code>Tue Oct 21 16:02:48.582 creating new connection to:127.0.0.1:27017
  Tue Oct 21 16:02:48.583 BackgroundJob starting: ConnectBG
  Tue Oct 21 16:02:48.584 connected connection!
  connected to: 127.0.0.1
  Tue Oct 21 16:02:48.584 ns: ip.ip_data
  Tue Oct 21 16:02:48.585 filesize: 3526
  Tue Oct 21 16:02:48.585 User Assertion: 13293:BSON representation of supplied JSON array is too large: code FailedToParse: FailedToParse: Date expecting integer milliseconds: offset:211
  </code></pre>