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

ExTwilio.Message.create throws {:error, "The requested resource /2010-04-01/Messages.json was not found", 404} #33

Closed
almeynman opened this issue Apr 22, 2016 · 3 comments

Comments

@almeynman
Copy link

almeynman commented Apr 22, 2016

Hi I am trying to send a message:

ExTwilio.Message.create([to: "<my_number>", from: "<twiio_number>", body: "Hello World!"])

However I receive the following response:

{:error, "The requested resource /2010-04-01/Messages.json was not found", 404}
@danielberkompas
Copy link
Owner

Have you set the configuration variables as shown in the Readme?

https://github.com/danielberkompas/ex_twilio#configuration

@almeynman
Copy link
Author

Oh I forgot to source .env sorry for disturbance

@danielberkompas
Copy link
Owner

It's okay, I probably should add an error message that warns you about that.

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