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 Stack Overflow by chiku
, 1 year ago
Command failed with error 13: 'not authorized on myDb to execute command { listCollections: 1, cursor: { batchSize: 0 } }' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "not authorized on myDb to execute command
via Stack Overflow by Java Guy
, 2 years ago
Out of semaphores to get db connection; nested exception is com.mongodb.DBPortPool$ SemaphoresOut: Out of semaphores to get db connection
via osdir.com by Unknown author, 2 years ago
Query failed with error code 13 and error message 'not authorized for query on <db.table>' on server xxx; nested exception is com.mongodb.MongoQueryException: Query failed with error code 13 and error message 'not authorized for query on db.table on server xxx
via gmane.org by Unknown author, 2 years ago
Query failed with error code 13 and error message 'not authorized for query on <db.table>' on server xxx; nested exception is com.mongodb.MongoQueryException: Query failed with error code 13 and error message 'not authorized for query on db.table on server xxx
via osdir.com by Unknown author, 2 years ago
Query failed with error code 13 and error message 'not authorized for query on <db.table>' on server xxx; nested exception is com.mongodb.MongoQueryException: Query failed with error code 13 and error message 'not authorized for query on db.table on server xxx
via Stack Overflow by user1493140
, 1 year ago
not authorized for query on alphasaverdev.student; nested exception is com.mongodb.MongoException: not authorized for query on alphasaverdev.student
com.mongodb.MongoCommandException: Command failed with error 13: 'not authorized on myDb to execute command { listCollections: 1, cursor: { batchSize: 0 } }' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "not authorized on myDb  to execute command { listCollections: 1, cursor: { batchSize: 0 } }", "code" : 13 }	at com.mongodb.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:86)	at com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:119)	at com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:159)	at com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:286)	at com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:173)	at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:215)	at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:206)	at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:112)	at com.mongodb.operation.ListCollectionsOperation$1.call(ListCollectionsOperation.java:177)	at com.mongodb.operation.ListCollectionsOperation$1.call(ListCollectionsOperation.java:172)	at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:239)	at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:212)	at com.mongodb.operation.ListCollectionsOperation.execute(ListCollectionsOperation.java:172)	at com.mongodb.operation.ListCollectionsOperation.execute(ListCollectionsOperation.java:80)	at com.mongodb.Mongo.execute(Mongo.java:773)	at com.mongodb.Mongo$2.execute(Mongo.java:760)	at com.mongodb.OperationIterable.iterator(OperationIterable.java:47)	at com.mongodb.OperationIterable.forEach(OperationIterable.java:70)	at com.mongodb.MappingIterable.forEach(MappingIterable.java:50)	at com.mongodb.MappingIterable.into(MappingIterable.java:60)	at com.mongodb.DB.getCollectionNames(DB.java:253)	at org.springframework.data.mongodb.core.MongoTemplate$14.doInDB(MongoTemplate.java:1656)	at org.springframework.data.mongodb.core.MongoTemplate$14.doInDB(MongoTemplate.java:1654)	at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:446)	at org.springframework.data.mongodb.core.MongoTemplate.getCollectionNames(MongoTemplate.java:1654)	at dao.TemplateDaoImpl.testingSales(TemplateDaoImpl.java:4812)	at dao.impl.TemplateDaoImpl.main(TemplateDaoImpl.java:340)