Hi Szymon,
This matches the supported values for a cursor limit: https://docs.mongodb.org/manual/reference/method/cursor.limit/#behavior.
If you really need a larger limit for query results, you can leave the limit unset (which defaults to 0, or unlimited) .. or explicitly set the limit to 0.
To be clear, the limit here is specifically in relation to documents returned by a query cursor and does not infer any server-side limitations on number of documents that can be saved in a collection.
If you are still stuck on this issue, can you clarify what you are trying to achieve with the limit of ~1.4 trillion documents?
Regards,
Stephen