Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoadError: Can't find AWS credentials! #648

Closed
vpanichkin opened this issue Jul 11, 2023 · 3 comments
Closed

LoadError: Can't find AWS credentials! #648

vpanichkin opened this issue Jul 11, 2023 · 3 comments

Comments

@vpanichkin
Copy link

vpanichkin commented Jul 11, 2023

Hey, folks.

I got a problem once I try to run this code

using AWSS3, AWS, FilePathsBase;


region = "eu-west-1"
aws_config = global_aws_config(; region = region)

The error with the stack trace:

ERROR: LoadError: Can't find AWS credentials!

Stacktrace:
 [1] AWSCredentials(; profile::Nothing, throw_cred_error::Bool)
   @ AWS ~/.julia/packages/AWS/wwLKx/src/AWSCredentials.jl:145
 [2] #global_aws_config#91
   @ ~/.julia/packages/AWS/wwLKx/src/AWS.jl:81 [inlined]

Affected versions:

  • 1.90
  • 1.84

Could you suggest some fix that could help to resolve the issue?

@mattBrzezinski
Copy link
Member

Are your ~/.aws/config or ~/.aws/credentials files populate?

@vpanichkin
Copy link
Author

Good morning, yes I have an aws config. Weird think, that nothing was changed in them, but suddenly stopped working

> cat ~/.aws/config
[default]
region = eu-west-1

@vpanichkin
Copy link
Author

Good news. The issue disappeared automatically. Apparently, some glitch in the AWS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants