DeprecationWarning being triggered even with useUnifiedTopology set to true

Hi @Christian_Saboia,
If you are indeed passing useUnifiedTopology: true to your MongoClient constructor, then this message should not display. Can you please update your code sample above if it does not accurately reflect the code you are running? Specifically, I’m seeing this code which seems to refer to a variable which does not exist:

const dbClient = await client
2 Likes