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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Bryan Hunt, 2 years ago
Could not find any valid secondaries with the supplied tags ('{ "locale" : "sc"}'
via Google Groups by Bryan Hunt, 2 years ago
Could not find any valid secondaries with the supplied tags ('{ "locale" : "sc"}'
com.mongodb.MongoException: Could not find any valid secondaries with the supplied tags ('{ "locale" : "sc"}'
at com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:358)
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:212)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:305)
at com.mongodb.DBCollection.findOne(DBCollection.java:647)
at com.mongodb.DBCollection.findOne(DBCollection.java:626)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.