Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3779

MongoServerError: not authorized on test to execute command { createIndexes:

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.2.0
    • Component/s: None
    • 0
    • Not Needed

      What problem are you facing?

       

      Unable to connect with the error:

      > MongoServerError: not authorized on test to execute command { createIndexes: 

      What driver and relevant dependency versions are you using?

       

      4.2.0

      Steps to reproduce?

       

      Connect with connection string included auth mongodb://user:pass@server:27017/data?authSource=admin

       

      Module version 4.1.3 works without any problem

            Assignee:
            Unassigned Unassigned
            Reporter:
            mahnunchik@gmail.com Evgeny Vlasenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: