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

In Percona MongoDB Version v5.0 adding mongodb metrices getting below error , But able to add the mongodb metrices in v4.0 successfully . Is this the bug , please clarify it

root@ip-172-31-88-207:/var/log/mongodb# sudo pmm-admin add mongodb --uri mongodb://mongopmm:mongopmm@127.0.0.1:27017
[linux:metrics] OK, already monitoring this system.
[mongodb:metrics] Error adding MongoDB metrics: cannot verify MongoDB connection with /usr/local/percona/pmm-client/mongodb_exporter --test: exit status 1: time=“2022-01-17T11:02:14Z” level=error msg=“Cannot connect to server using url mongodb://:@127.0.0.1:27017: server returned error on SASL authentication step: BSON field ‘saslContinue.mechanism’ is an unknown field.” source=“connection.go:84”
time=“2022-01-17T11:02:14Z” level=error msg=“Can’t connect to MongoDB: Cannot connect using uri: mongodb://mongopmm:mongopmm@127.0.0.1:27017” source=“mongodb_exporter.go:104”

1 Like