Unable to connect to Mongo Atlas

Hi,
I am not able to browse movies collection. I see databases, but when execution “show collections” get following warning

“Warning: unable to run listCollections, attempting to approximate collection names by parsing connectionStatus”

Furthermore db.movies.findOne() will return me error that I am not authorised , see the image below.
What seems to be the trouble.

1 Like

Hi,

I found the “problem” in another post from a past course. Well, it seems we both are connecting to the wrong database. If we use the connection string we connect to the aggregations database which has inside a movies collection.

I was trying by mistake to “use video” and querying the collection “movies” and our user m121 only has permission on the “aggregation” db.