There is no exception when I am trying without the Username and Password but I got error while giving value for user and password.
{
"name": "Mongo",
"connector": "mongodb",
"url": "",
"host": "127.0.0.1",
"port": 27017,
"user": "username",
"password": "password",
"database": "otc",
"useNewUrlParser": true
}