ex_aws (Hex package) (mix)
locked at 2.2.3 (ex_aws) 8ddf1da9
ex_aws_s3 (Hex package) (mix)
locked at 2.2.0 (ex_aws_s3) 15175c61
ex_aws_ses (Hex package) (mix)
locked at 2.1.1 (ex_aws_ses) 86c8a7b1
HTTP client version. IE for hackney do mix deps | grep hackney
hackney 1.17.4 (Hex package) (rebar3)
locked at 1.17.4 (hackney) de16ff49
Current behavior
I was running in an environment where access_key_id, secret_access_key, and region were not configured properly.
When running test in this env ex_aws gives confusing error which is hard to decipher:
Yep, I'd definitely agree that improved errors would make some of this stuff a lot easier. I've hit almost exactly this one myself. PRs to that effect would be most welcome.
Environment
Elixir 1.11.4 (compiled with Erlang/OTP 23)
ExAws version
mix deps |grep ex_aws
ex_aws (Hex package) (mix) locked at 2.2.3 (ex_aws) 8ddf1da9
ex_aws_s3 (Hex package) (mix) locked at 2.2.0 (ex_aws_s3) 15175c61
ex_aws_ses (Hex package) (mix) locked at 2.1.1 (ex_aws_ses) 86c8a7b1
HTTP client version. IE for hackney do
mix deps | grep hackney
hackney 1.17.4 (Hex package) (rebar3) locked at 1.17.4 (hackney) de16ff49
Current behavior
I was running in an environment where
access_key_id
,secret_access_key
, andregion
were not configured properly. When running test in this envex_aws
gives confusing error which is hard to decipher:Expected behavior
I would expect a user friendly error which would point to missing keys in configuration.