Unable to connect to MongoDb using Connection String Scheme "mongodb"

Hi @Raman_Kumar

A serverless instance is not going to work in this situation. As the error suggest the option loadBalanced=true is needed and this requires a driver version higher than what you have available.

A shared or dedicated instance should work.

https://www.mongodb.com/docs/atlas/reference/serverless-instance-limitations/#minimum-driver-versions-for-serverless-instances