Comment by Nasser Torabzade on How to assign an id value in mongodb? Leave a reply @user1659653 glad that it helped, good luck :)