catch bson.errors.InvalidStringData (happens before an actual insert is sent to the db)