PyMongo Insert problem

1,566 views
Skip to first unread message

Ricardo Lourenço

unread,
Aug 28, 2015, 10:59:36 PM8/28/15
to mongodb-user
Good morning!

When using PyMongo to insert some GeoJSON, I'm receiving this message "document must be an instance of dict, bson.son.SON, or other type that inherits from collections.MutableMapping". The variable that contains those JSON is already a dictionary, so I'm in doubt on what to do. Any suggestions?

Thanks,
Ricardo

Reply all
Reply to author
Forward
0 new messages