Not able to connect to Cluster "cluster0-shard-00-00"

facing an issue to connect to the atlas cluster and “cluster0-shard-00-00”.

it is showing “uncaught exception: SyntaxError: unexpected token: string literal :”
the error is same for “Atlas Cluster” also.

Please help.


You have to run the mongo command outside the mongo shell that you started with the command mongo.exe.

So you have to run the command exit and then run the mongo command.

have tried both…please find the snap shot for your reference…

still facing the same issue.

When you type "c:\....\mongo.exe", this is the mongo command.

The command mongo by itself does not work because it is not in your path. You may find how to add it to your path by searching this forum.

So when you type mongo.exe with the full path, you just need to specify the parameters your want, like mongodb+srv://…

1 Like

Hi Steeve,

I read it wrong what you mentioned. I got it, thanks for you help.
:slightly_smiling_face: :slightly_smiling_face: