MongoDB Atlas failing, could not find user

268 Views Asked by At

I’m trying to connect to the atlas cluster from mongoDb compose I keep getting the following error. What might be the reason for this? and what will help to resolve this problem?

Error:

Could not find user "arn:aws:iam::123545332123:user/iam_user" for db "$external"

Steps i followed:

1). From compose>Advance connection options>Authentication>AWS IAM enter image description here

2). Click connect. 3). this error i am getting

Could not find user "arn:aws:iam::123545332123:user/iam_user" for db "$external"

Note: I copied aws IAM Access Key ID, Secret access Key, and session token from single sign-on (SSO)

I really appreciate any help you can provide.

1

There are 1 best solutions below

2
On

Is the URI you've posted including "localhost:27017" for demonstration purposes? If not, have you tried using the connection string gathered from the Atlas UI?