Hey :wave: @Evelyn_Nguyen,

Welcome to the MongoDB Community forums :sparkles:

Could you share the code snippet where you are reading the connection string from the .env file and the error message you are getting? It will help the community assist you better.

Looking forward to your response.

Regards,
Kushagra