-
Notifications
You must be signed in to change notification settings - Fork 778
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
Error: Empty from email address (required) #178
Comments
It looks like the upstream dependency request was updated today. Pinning it to the previous version |
Something broke for us in request 2.59.0. See #178
I just released version Sorry for any trouble this caused you. |
It looks like the From the docs
It seems that the |
I'm using the latest npm module version and when I try, even the simplest test, I'm getting the following error:
Error: Empty from email address (required)
This is the example code we are testing.
Up until few days ago all was working
var sendgrid = require("sendgrid")(API_KEY);
sendgrid.send({
to: 'example@example.com',
from: 'other@example.com',
subject: 'Hello World',
text: 'My first email through SendGrid.'
}, function(err, json) {
if (err) { return console.error(err); }
console.log(json);
});
The text was updated successfully, but these errors were encountered: