title: "ObjectId' object is not iterable" error, while fetching data from MongoDB Atlas
body: <p>Okay, so pardon me if I don't make much sense. I face this <code>'ObjectId' object is not iterable</code> whenever I run the <code>collections.find()</code> functions. Going through the answers here, I'm not sure where to start. I'm new to programming, please bear with me.</p>
  <p>Every time I hit the route which is supposed to fetch me data from Mongodb, I get<code>ValueError: [TypeError(&quot;'ObjectId' object is not iterable&quot;), TypeError('vars() argument must have __dict__ attribute')]</code>.</p>
  <p>Help</p>