server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field.
How ever If I hit the same command on mongodb server itself then it works. I have checked all credentials & other details. All details are correct.
update
if I run the command using -vvvv parameter (for verbose output) then I got this:
2022-05-12T12:29:22.261+0000 checking options
2022-05-12T12:29:22.262+0000 dumping with object check disabled
2022-05-12T12:29:22.262+0000 will listen for SIGTERM, SIGINT, and SIGKILL
2022-05-12T12:29:22.283+0000 got error from options parsing: error connecting to db server: server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field.
2022-05-12T12:29:22.283+0000 Failed: error connecting to db server: server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field.
Can you connect to your db from the host where you are trying to run mongoimport?
Are you using any special characters in your password?
If yes try to escape it
or
Does it work with lower version of mongoimport?
Can you connect to your db from the host where you are trying to run mongoimport? YES
Are you using any special characters in your password? NO
Does it work with lower version of mongoimport?
I AM NOT ABLE TO DOWNGRADE TO VERSION 100.5.1. THE INSTALLATION STEPS MENTIONED IN THE BELOW LINK GIVES ERROR:
ERROR: dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)