Check this link
Long form of connect string you can get from your Atlas account.Choose old version of shell
Is password given in your connect string correct?
I am getting different error
2022-05-21T16:43:41.648+0530 I NETWORK [js] Marking host jvuwithjesus-shard-00-02.ygys3.mongodb.net:27017 as failed ::
caused by :: Location40659: can’t connect to new replica set master [jvuwithjesus-shard-00-02.ygys3.mongodb.net:27017],
err: Location8000: bad auth : Authentication failed.