title: (node:32032) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoError: Authentication failed
body: <p>I'm trying to connect mongodb from mlabs. I've inserted the following code: </p>
  
  <pre><code>Mongoose.connect('mongodb://&lt;dhan004&gt;:&lt;password1&gt;@ds163402.mlab.com:63402/projecttwist', {useNewUrlParser: true }); 
  </code></pre>
  
  <p>It then gave me this error: </p>
  
  <pre><code>(node:32032) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoError: Authentication failed.
  </code></pre>
  
  <p>Can anyone explain why I'm getting this error?</p>