while storing the usage data , I am getting the below issue
Error while storing data in MongoDB: documents must be a non-empty list
This error means your application is mistakenly calling collection.insert_many() with an empty list:
>>> coll.insert_many([])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/shane/git/mongo-python-driver/pymongo/_csot.py", line 105, in csot_wrapper
return func(self, *args, **kwargs)
File "/Users/shane/git/mongo-python-driver/pymongo/collection.py", line 697, in insert_many
raise TypeError("documents must be a non-empty list")
TypeError: documents must be a non-empty list