Hi everyone, I have this error I can't resolve wit...
# orm-help
j
Hi everyone, I have this error I can't resolve with using mongodb Error: P1013 The provided database string is invalid. An invalid argument was provided: Database must be defined in the connection string in database URL.
1
n
Hey @javier g 👋 Welcome to our Slack community! 🎉 Can you please share the connection string which you are using? (After obfuscating username and password)
n
The database name is missing in the connection string. Can you try like this?
<mongodb+srv://username:password@cluster0.kqjrsle.mongodb.net/*database_name*?retryWrites=true&w=majority>
😀 1
j
its workssss thxsss a lot!!!
🙏 2