Exportv4 cs mongodb into es

So an empty entity would return an error with a connected ES?
If so, could you please add a comment here?