1 | initial version |
The error message "student validation failed: fees: Path fees
is required. at ValidationError" indicates that while using Mongoose to save a student object to the database, the validation process failed because the field "fees" is required but was not provided. Therefore, Mongoose will not save the student object to the database until this required field is provided.