MongoDB and Mongoose - Create and Save a Record of a Model

Tell us what’s happening:
Please help, I’m stuck in this exercise.
I’ve done everything i can, my Mongoose is connected properly and shows no errors but my test wont pass.

What else can I do pleasee ?

Your project link(s)

solution: boilerplate-mongomongoose - Node.js Repl - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36 Edg/105.0.1343.33

Challenge: MongoDB and Mongoose - Create and Save a Record of a Model

Link to the challenge:

Is there any error in the console when you execute the code ?

What I can spot is this contradictory code lines:

age: 26,

and

age: String,

1 Like

Damn, how didnt i see that before ?
It worked, fixed it.
Thank you

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.