vyalos
hello,
i’m using aws s3 for a project and i get the message that “module ExAws.S3.Upload is not available”. when i call the module on my project “alias ExAws.S3”, S3 is not a suggestion.
my deps:
defp deps do
[
{:phoenix, "~> 1.4.0"},
{:gettext, "~> 0.11"},
{:plug_cowboy, "~> 2.0"},
{:jason, "~> 1.0"},
{:new_relic_agent, "~> 1.0"},
{:mktp, in_umbrella: true},
{:recase, "~> 0.3.0"},
{:csv, "~> 2.0.0"},
{:brcpfcnpj, "~> 0.1.0"},
{:ex_aws, "~> 2.0"},
{:ex_aws_s3, "~> 2.0"},
{:poison, "~> 3.0"},
{:hackney, "~> 1.9"}
]
end
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello!
Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app.
I creat...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted”
Version...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #blog-post
- #ai
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
benwilson512
Hi @vyalos, if you type
mix deps |grep ex_awswhat do you get as output?vyalos
hello,
this is what i get:
benwilson512
Weird so mix definitely knows about the packages. I’d try doing
rm -rf deps _buildand then runningmix do deps.get, deps.compile. Please copy and paste the output of the deps.get, deps.compile bit.vyalos
benwilson512
So, it downloaded and compiled. If you try using it and it errors, can you paste the full stacktrace and error?
vyalos
benwilson512
cool, so ex_aws_s3 is there and running, but you’re passing in some kind of invalid information.
Can you show the code you have where you use it?
vyalos
you’re right, i changed my service code and i no longer see the “module not available” message.
i have encountered another problem though, this is my service code today:
my bucket_name returns nil.
when i run
Application.get_env(:ex_aws, :bucket)oniex -S mix, it returns nil but it works withApplication.get_env(:ex_aws, :access_key_id)andApplication.get_env(:ex_aws, :secret_access_key).ExAws.S3.list_buckets() |> ExAws.request!()shows my bucket name.is there something that i’m missing?
i don’t know if it has any correlation but my console shows this message
[warn] ExAws: Received redirect, did you specify the correct region?even though my region is correct.sorry for the amount of information but i’m stuck, i hope it’s understandable.
thank you.
benwilson512
This is not part of ExAws’s configuration. You need to store the bucket on your own application config.
vyalos
everything is working now.
thank you.