title: TypeError: documents must be a non-empty list
body: <p>I'm doing a program using Twitter API and MongoDB in 2.7 Python language.</p>
  
  <p>I get a timeline and put it in a dictionary, which I want to store in a MongoDB database. To do this I have next code:</p>
  
  <pre><code>def saveOnBD(self, dic):
      client = MongoClient("xxxx", "port")
      db = client.DB_Tweets_User_Date
      collection = db.tweets
      collection.insert_many(dic)
  </code></pre>
  
  <p>I'm debbuging and <code>dic</code> it's not empty but I get next error:</p>
  
  <pre><code>TypeError: documents must be a non-empty list
  </code></pre>
  
  <p>How can I fix it?</p>