Query failed with error code 59 and error message 'command not found' on MongoDB Cluster

2.4k Views Asked by At

I have a MongoDB cluster running MongoDB 3.4.14 in MongoDB Atlas. My application is successfully connected with this cluster and can read and write. I can connect with the shell to this cluster also.

When I try to connect with Studio3t (Version 2018.2.5) everything works fine as well. But when I try to view an available collection I get the following error:

Failed to retrieve documents

[somedatabase.somecollection@SomeCluster [replica set]] Database error!

Stacktrace: 
|_/ java.lang.Exception: [somedatabase.somecollection@SomeCluster [replica 
set]] Database error!
|____/ Mongo Server error (MongoQueryException): Query failed with error code 59 and error message 'command not found' on server cluster0-shard-00-00-*****.mongodb.net:27017

I'm not sure if this is a problem with the cluster configuration or with Studio3t itself. If I can provide you with more information that would help to solve the problem just let me know.

0

There are 0 best solutions below