Generating errors with not existing fields does not work with mongodb.