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
Percy16mo ago
Project ID: N/A
kanhaiya lal bohra
N/A
Brody
Brody16mo 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