com.mongodb.MongoException: not authorized for query on socialcare.automatedjobdetails

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 Pankaj
, 11 months ago
not authorized for query on socialcare.automatedjobdetails
via Stack Overflow by Vidya
, 2 years ago
Can't canonicalize query: BadValue must have $meta projection for all $meta sort keys
via Google Groups by Stephan, 2 years ago
assertion src/mongo/db/query/planner_analysis.cpp:114
via JIRA by sandip, 1 year ago
Can't canonicalize query: BadValue unknown top level operator: $query
via JIRA by sandip, 1 year ago
Can't canonicalize query: BadValue unknown top level operator: $query
com.mongodb.MongoException: not authorized for query on socialcare.automatedjobdetails
at com.mongodb.QueryResultIterator.throwOnQueryFailure(QueryResultIterator.java:214)
at com.mongodb.QueryResultIterator.init(QueryResultIterator.java:198)
at com.mongodb.QueryResultIterator.initFromQueryResponse(QueryResultIterator.java:176)
at com.mongodb.QueryResultIterator.(QueryResultIterator.java:64)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year 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.