reactivemongo.core.errors.DetailedDatabaseException: DatabaseException['not authorized for query on db_name.collection_name' (code = 13)]

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 GitHub by jieyebing
, 1 year ago
DatabaseException['not authorized for query on db_name.collection_name' (code = 13)]
via Google Groups by 杰野, 1 year ago
DatabaseException['not authorized for query on db_name.collection_name' (code = 13)]
via Google Groups by Francis De Brabandere, 1 year ago
DatabaseException['not authorized for query on heroku_app4877663.broadcasts' (code = 13)]
via GitHub by francisdb
, 2 years ago
DatabaseException['not authorized for query on heroku_app####.broadcasts' (code = 13)]
via GitHub by ethul
, 2 years ago
DatabaseException['not authorized for query on devdb.users' (code = 16550)]
via GitHub by wir33658
, 2 years ago
DatabaseException['not authorized for query on test.BlogCollection' (code = 16550)]
reactivemongo.core.errors.DetailedDatabaseException: DatabaseException['not authorized for query on db_name.collection_name' (code = 13)]
at reactivemongo.core.errors.ReactiveMongoException$.apply(errors.scala:32)
at reactivemongo.core.protocol.Response.error$lzycompute(protocol.scala:273)
at reactivemongo.core.protocol.Response.error(protocol.scala:268)
at reactivemongo.core.actors.MongoDBSystem$$anonfun$6.applyOrElse(actors.scala:523)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171)
at reactivemongo.core.actors.StandardDBSystem.aroundReceive(actors.scala:803)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
at akka.dispatch.Mailbox.run(Mailbox.scala:220)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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