Dear Mongoose Team, The post and pre `insertMany` middleware have the arguments order reversed. Pre takes in (next, docs), Post takes in (docs, next) Please follow standardized API design or it gets confusing.