Tell us what’s happening:
Describe your issue in detail here.
I’m getting thiserror in my cosole and it’s preventing me from moving ahead
Link : boilerplate-mongomongoose - Replit
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/18.104.22.168 Safari/537.36 OPR/22.214.171.124
Challenge: MongoDB and Mongoose - Create and Save a Record of a Model
Link to the challenge:
What is the error you are getting?
My guess is you have either not added the applicable MONGO_URI environemnt variable and value to the Secrets tab or your mongo user does not have the correct permissions (read/write).
When I add my personal mongo uri to your code, the challenge passes.
I have enable it the read/write permissions!
Please…send your URI without your password!
This is how i connected my mongoose
Your connection string most likely doesn’t contain the correct name and password.
Make sure you did not include the
<> part of the password placeholder you get with the connection string.
So you are saying that I should remove the greater than and lesser than sign from my password?
Yes, they are not part of the password. They are just in the placeholder to denote the location of the password.
Thanks so much!