it took me some time but it figured it out i just wanted to remove the slash after the mongodb.net/ in.env file
before MONGODB_URI= mongodb+srv://ruhith:[email protected]/
After MONGODB_URI= mongodb+srv://ruhith:[email protected]