com.mongodb.MongoException: Could not find any valid secondaries with the supplied tags ('{ "locale" : "sc"}'

JIRA | Bryan Hunt | 5 years ago
  1. 0
  2. 0

    Problem reading from primary using Java driver and TaggedReadPreference

    Google Groups | 5 years ago | Bryan Hunt
    com.mongodb.MongoException: Could not find any valid secondaries with the supplied tags ('{ "locale" : "sc"}'
  3. 0

    [mongodb-user] Problem reading from primary using Java driver and TaggedReadPreference

    Google Groups | 5 years ago | Bryan Hunt
    com.mongodb.MongoException: Could not find any valid secondaries with the supplied tags ('{ "locale" : "sc"}'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error using $elemMatch

    GitHub | 3 years ago | ubiquitousthey
    com.mongodb.MongoException: invalid parameter: expected an object ($elemMatch)
  6. 0

    Does the Java Driver support $slice operator?

    Google Groups | 6 years ago | Stuart King
    com.mongodb.MongoException: invalid operator: $slice

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.mongodb.MongoException

      Could not find any valid secondaries with the supplied tags ('{ "locale" : "sc"}'

      at com.mongodb.DBTCPConnector$MyPort.get()
    2. MongoDB Java Driver
      DBCollection.findOne
      1. com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:358)
      2. com.mongodb.DBTCPConnector.call(DBTCPConnector.java:212)
      3. com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:305)
      4. com.mongodb.DBCollection.findOne(DBCollection.java:647)
      5. com.mongodb.DBCollection.findOne(DBCollection.java:626)
      5 frames