invalidaccesskeyid: the access key id you provided does not exist in our records

I installed the NPM packages as shown in the picture,


and when I run fly launch, Fly automatically creates a secret

and adds the env variables to Fly secrets.

However, when I upload an image, I get the error: “InvalidAccessKeyId: The access key ID you provided does not exist in our records.” What could be the problem?

Should I edit the automatically generated secrets, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, with my keys instead of adding AWS_KEY and AWS_SECRET_KEY from my env list to Fly secrets?

What are the credentials used to configure your S3 SDK? I understand that secrets are set. Can you verify if endpoint url is https://fly.storage.tigris.dev and the access key id and key secret starts with tid_ and tsec_ respectively?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.