duplicatekeyerror专题

python pymongo.errors.DuplicateKeyError: E11000 duplicate key

If you suffer the problem, you could check your collection if has null document