title: mongoimport 2.6 vs 2.4
body: <p>I am exporting data from one database and importing data to another database. When I export the data its on a machine with mongo 2.6 but when I import the data its on a VM using mongo 2.4. Both mongod instances are running 2.4. </p>
  
  <p>I keep getting this error:</p>
  
  <pre><code>Wed Jun  4 13:13:32.604 check 0 0
  Wed Jun  4 13:13:32.604 imported 0 objects
  Wed Jun  4 13:13:32.604 ERROR: encountered 1 error(s)
  failed: [192.168.140.30] =&gt; (item=collection) =&gt; {"changed": true, "cmd": "mongoimport -u username -p password -d db -c collection --drop --jsonArray /tmp/collection.json ", "delta": "0:00:00.026383", "end": "2014-06-04 13:13:33.091774", "item": "collection", "rc": 255, "start": "2014-06-04 13:13:33.065391"}
  stdout: connected to: 127.0.0.1
  Wed Jun  4 13:13:33.089 dropping: &lt;db.collection&gt;
  Wed Jun  4 13:13:33.089 exception:BSON representation of supplied JSON array is too large: code FailedToParse: FailedToParse: Date expecting integer milliseconds: offset:171
  </code></pre>
  
  <p>And the exported date format looks like </p>
  
  <pre><code>{ "date" : { "$date" : "2014-06-02T06:39:28.869-0700" }
  </code></pre>
  
  <p>I have verified that using mongoimport on the same machine as the mongoexport works fine, so I assume there is a compatablility issue between mongoimport/export from 2.4 to 2.6. Due to firewall restrictions I need to use the two different machines for moving the data around.</p>
  
  <p>Does anybody have any good work arounds for this problem. I have not seen an option to export in the old format as far as I can tell. I also cannot tell from the release notes, what is causing the compatability error.</p>