MongoDB.live, free & fully virtual. June 9th - 10th. Register Now MongoDB.live, free & fully virtual. June 9th - 10th. Register Now

Incomplete key value pair for option

Hi,
Any help with this bug !!! Incomplete key value pair for option

What is the operation you are doing when you get this message?

Most likely cause is due to malformed URI or some special characters in your password

it is when connecting to my database

Are you using any API or some program to connect to your DB?
Does connection work from shell?
Please check your connect string for any errors

use MongoDB Compass.
I have already connected to this database but since updating the tool I have encountered this error!

What is your current and previous version?
Do you get any other error like deprecated
Are you using hostname or srv string format to connect from Compass
Other than upgrade any changes made to your connection string/parameters

Its happening to me, and I’m using “MongoDB Compass Community” Version 1.20.5 (1.20.5). Using SRV string format.

Nevermind, I fixed it. I had go to the “connection string” view to connect, then remove the trailing: ?authSource=admin&replicaSet=&readPreference=primary&appname=MongoDB%20Compass%20Community&ssl=true