Chapter 2 Issue in connecting to atlas

mongodump --uri “mongodb+srv://m001-student:m001-mongodb-basics@sandbox.qs4kl.mongodb.net/sample_training”

This is command I used to connect to atlas it is not working
Error : 2021-01-17T12:46:53.959+0000 error parsing command line options: error parsing uri: scheme must be “mongodb” or "mongodb+srv"

What is wrong in the command???

Most likely it is your quotes. Try typing the URI by hand rather than cut-n-pasting it.

Hi @17PT23_RAGUL_R,

The connection string looks good to me. As @steevej-1495 mentioned it could be the quotes that is causing this error.

Please use straight quotes i.e. ""