S3 Error: The AWS Access Key Id you provided does not exist in our records

0

I have deleted the old access key+secret and created a new root access key. But I am still getting the following error: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: SZVN2WBZHJY258VY; S3 Extended Request ID: e/QpOO21+ZDdwGSA9hhFHaFu/nsJDavTmSdrdTzC9PqfJGvjvrg3ZNky/2ym3/HppBRKDE9vfxQ=)

What is is the reason for this error and why does it not work altough it worked before I have deleted the first key?

Leolux
asked 8 months ago542 views
5 Answers
1

Hi Leolux,

I think you should verify by running the command "aws sts get-caller-identity" with the new credentials configured. [1]

And, as mentioned by @Victor, please confirm all the points, especially if the Access Key is active or not. [2]
If "Active", it should look like this (highlighted part):
Status of Access Key

References:
[1] https://docs.aws.amazon.com/cli/latest/reference/sts/get-caller-identity.html#examples
[2] https://repost.aws/knowledge-center/s3-access-key-error

profile picture
answered 8 months ago
0

Enter image description here Hi, the command "aws sts get-caller-identity" executed with the new credentials returns three values for UserId, Account and Arn. I am not sure how this helps.

@IBAtulAnand: You shared a screenshot how the "active" status gets displayed. The problem is that my UI looks differently and I cannot extend the access key to check the status flag. So where can I find this page? IYou can see my screenshot and the status is active as well altough the UI looks not the same?

Leolux
answered 8 months ago
  • My screenshot was taken on the address .console.aws.amazon.com/iamv2/home#/security_credentials

0

Thank you for the step by step guide. I checked all points but still the same issue. Therefore I even more think that the Security department has not correclty removed the account limitations that were removed according the them today.

Leolux
answered 8 months ago
0

When you say "marked as "Active". How does the active mark look like?

Leolux
answered 8 months ago
0

If you are using profiles and the AWS CLI make sure that your

.aws / credentials

file contains the correct key id and secret key.

answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions

Relevant content