I have a Meteor app running on Heroku with a Mongo database addon through Compose (previously MongoHQ).
I would like to insert documents into this database from an entirely different app (Python/Django, not Meteor). So I installed pymongo
into my Django app, got the connection URI for mongodb configured correctly, and so forth.
However, when I try to call the following line:
my_dict_collection.update({'id': my_dict['id']}, my_dict, upsert=True)
I get the following error:
OperationFailure: not authorized for upsert on meteor.my_dict_collection
Why is this happening, and how can I get past it?