Welcome to the Simplilearn Community

Want to join the rest of our members? Sign up right away!

Sign Up

MongoDB Dev & Admin | Adarsh | 15 May - 6 June

Hi Can any one help me. In project when i am calling .json file its showing below error. I have raised ticket several time but getting same file in the mail revert. no body is explaining why i am getting this error.

C:\Program Files\MongoDB\Server\4.4\bin>mongoimport --db callData --collection call_data --file "C:\Program Files\MongoDB\Server\4.4\bin\call_data.json"
2021-06-19T16:54:01.389+0530 error connecting to host: could not connect to server: server selection error: server selection timeout, current topology: { Type: Single, Servers: [{ Addr: localhost:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: connection() : dial tcp [::1]:27017: connectex: No connection could be made because the target machine actively refused it. }, ] }
Hello Learners,

Kindly post your queries here related to the course "MongoDB Dev & Admin".

Happy Learning!!

Request you to please provide solution of my query.
While importing json file i am getting below error.
Also have raised several tickets but still waiting for solution.

C:\Program Files\MongoDB\Server\4.4\bin>mongoimport --db callData --collection call_data --file "C:\Data\call_data.json"
2021-06-21T00:38:54.319+0530 connected to: mongodb://localhost/
2021-06-21T00:38:54.377+0530 Failed: this MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string
2021-06-21T00:38:54.377+0530 0 document(s) imported successfully. 0 document(s) failed to import