Unable to convert cursor to array or problem counting documents, MongoError: Cannot use a session that has ended

Hi @Vipul_Singh_05830,

Please check the following post and let me know if it helps.

Kanika