GetBucket failed to load

When I try to Get a bucket I get Authentication failed for user ‘couchbase’

I try to do var bucket = ClusterHelper.GetBucket(item.Value.BucketName);
My configuration looks like this

Hi @michalc

The error message “Authentication failed for the user …” usually means the username and password for the RBAC user is not correct. Please ensure the user exists in your cluster and you’ve correctly authenticated the user.

For example, you can do it programmatically using ClusterHelper like this:

ClusterHelper.Get().Authenticate("username", "password");