What is going wrong? What action would you like the Engineering team to take?
It's common to mistakenly give -p on the command line to specify a port, rather than --port. It would be nice to give a friendly error message suggesting that --port was intended, if the command line parameters are supplying -p and are not specifying a username with -u (or via any other method), since there is no use case for specifying a password but no username.
How could an engineer replicate the issue you’re reporting?
Observe today's opaque error message by running "mongosh -p the_password".
What do you expect to happen?
Better error message referencing -p and --port confusion.
What do you observe is happening?
Opaque error message about unparsable URI.
Any additional information that may be useful to include.