Adding mongodb as connection always shows Exception authenticating MongoCredential

Used latest build appsmith and mongo both deployed via docker in local machne. Exported mongo port to 27017, and created a user with password and auth type SCRAM-SHA-256. Connecting to mongo via compass with the same credential is fine, but not working in app smith

Hi! Are you trying to connect to MongoDB as a datasource in your Appsmith app? Can you share a screenshot of your datasource configuration (redact sensitive information) and of the error you are getting?