how i can fix this error MongoParseError: Invalid scheme, expected connection string to start with

how i can fix this error MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://" how i can get mango url like this from railway ?
3 Replies
Percy
Percy2y ago
Project ID: N/A
Brahmin
BrahminOP2y ago
N/A
Brody
Brody2y ago
MONGO_URL should be the variable you want https://docs.railway.app/databases/mongodb if your package expects a different syntax, then you could create a meta URL variable with a specific syntax using templated variables https://docs.railway.app/develop/variables#templated-variables
Want results from more Discord servers?
Add your server