Server returned error on SASL authentication step: BSON field 'saslContinue.mechanism' is an unknown field

hi guys ,
whenever i try to do mongorestore withfollowing command
mongorestore --host=XXXX --port=27017 --authenticationDatabase=admin -u=root -p=JXXXXXXX --db accounts mongo-prod/accounts/

i got this error:

Failed: error connecting to db server: server returned error on SASL authentication step: BSON field ‘saslContinue.mechanism’ is an unknown field.

5 Likes

Experiencing the same issue.

Could be the version related issues
What is your mongorestore version?

Yeah, that was it. Took me a good while to figure out. The version I got through apt-get didn’t have a version number, only said “Built without version number” or something along those lines.

Manually downloading and installing v100.5.2 solved the issue.