Need help with connecting to mongoose db

Tell us what’s happening:

Not sure why mongoose isn’t connecting
I am using this link: mongodb+srv://Bebop:<password>@codecluster-6ufys.mongodb.net/<dbname>?retryWrites=true&w=majority

And I think I am writing the correct password and dbname

image
Which should be CodeCluster from this image right?

Your code so far

(if not accessible it’s because glitch is down for some time)

myApp.js

const mongoose = require('mongoose');

mongoose.connect(process.env.MONGO_URI); 

package.json

"dependencies": {
    "express": "^4.17.1",
    "body-parser": "^1.19.0",
    "mongoose": "^5.9.18",
    "mongodb": "^3.5.8"
  },

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.158 Safari/537.36.

Challenge: Install and Set Up Mongoose

Link to the challenge:

glitch is having issues right now, you can check at status.glitch.com what’s the situation

Yes i am aware but i was testing this before there were issues

The servers are stable enough now, the first 2 tests are correct, however the last one doesn’t pass, so my question persists.

edit: I found the problem, for the last test to be completed the parameters given in the code should be included as well. But i didn’t have them after i followed the given hint, which mislead me to miss those parameters.

As seen in the solution:

The code needed for the test to pass:

mongoose.connect(process.env.MONGO_URI, { useNewUrlParser: true, useUnifiedTopology: true });