#getting connection string error
16 messages · Page 1 of 1 (latest)
nvm i have fixed it
sorry
No worries man 💪
wait
wtf
it worked then again
MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"```
wdym
Like .connect…?
Show that part
await mongoose.connect(config.mongodb || '', {
keepAlive: true,
});
if(mongoose.connect) {
console.log('Mongoose Connected!')
}```
Probably because you pass ‘’ if there isn’t anything there
Just log config.mongodb lol
Make sure things are saved too
ok