question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.

See original GitHub issue

Describe the bug Stretching things a bit to call this a bug, but this is where I’m at.

After I unwisely deleted the Iam User that was associated with Amplify credentials, my amplify commands stopped working. I was able to recover by running amplify configure, amplify init (existing environment: Yes), and amplify pull. Now my Amplify is associated with the new Iam User credentials, and things work as expected.

But if I go back to any previous backend configuration stored in git, my Amplify seems to get some re-association with the old credentials (although ~./aws still has the new credentials), such that any Amplify command, including amplify init and amplify pull fails with the following error:

UnhandledPromiseRejectionWarning: InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records. at Request.extractError (/usr/local/nvm/versions/node/v14.9.0/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/services/s3.js:837:35)…

Amplify CLI Version 4.29.0

To Reproduce Described above.

Expected behavior No error.

Screenshots n/a

Desktop (please complete the following information):

  • OS: Mac
  • Node Version. v14.9.0

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
akshbhucommented, Sep 9, 2020

Hi @mayckonx

Can you check file local-aws-info.json present in .config folder under amplify folder and check if the profileName is same as the profile you newly created? If its different, you can do is run amplify configure project and select the correct aws-profile in the workflow.

Let me know if this works for you?

0reactions
github-actions[bot]commented, May 25, 2021

This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The AWS Access Key Id does not exist in our records
A client error (InvalidAccessKeyId) occurred when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records....
Read more >
Resolve "AWS Access Key Id" errors when sending requests ...
The error message "The AWS Access Key Id you provided does not exist in our records" indicates that there's an issue with the...
Read more >
Why am I getting the "The AWS Access Key Id you ... - YouTube
Why am I getting the "The AWS Access Key Id you provided does not exist in our records ” error?
Read more >
The AWS Access Key Id does not exist in our records
The "AWS Access Key Id does not exist in our records" error occurs when the access key id configured for the AWS CLI...
Read more >
"AWS Access Key ID you provided does not exist in ... - MSP360
InvalidAccessKeyIdException The AWS Access Key Id you provided does not exist in our records. This error can occur during AWS S3 storage account...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found