How to load a CSV file to MongoDB Atlas?

What command you used and what error are you getting?
First check whether you can connect to your cluster from command line
Then use
mongoimport --uri your_onnect_string
Pass other parameters like dbname collection name etc

1 Like