Question
Can incorrect username/password cause the 'panic error parsing uri scheme must be mongodb or mongodb+srv' error?
Asked by: USER8726
112 Viewed
112 Answers
Answer (112)
No. Incorrect credentials won't directly trigger this specific parsing error. The 'panic error parsing uri scheme' relates to the *format* of the URI itself. However, incorrect credentials would lead to an authentication error *after* the URI is parsed correctly, after the connection attempt.