Mongexport producing 0 records for a collection (from Atlas)

I have seen this happen when there is a mismatch between the mongoexport client and the server. To double check try doing an export with Compass which has an export function built in.

What version of mongoexport and what version of the server are you running?

Here is how to get the mongoexport version:

JD10Gen:~ jdrumgoole$ mongoexport --version
mongoexport version: r4.2.7
git version: 51d9fe12b5d19720e72dcd7db0f2f17dd9a19212
Go version: go1.12.17
   os: darwin
   arch: amd64
   compiler: gc
JD10Gen:~ jdrumgoole$