DEV Community

Discussion on: Forward incoming SMS messages to email with Node.js, SendGrid and Twilio Functions

Collapse
 
dsazama profile image
Dave Sazama

Love the simplicity of this solution, but I am not able to get it to work. Could something have changed since you published this article? With everything set I am getting a 11200 - HTTP retrieval failure error every time I send an SMS to my twilio number. Any changes needed to your original post? If it still works for you, what would you need to help point me in the right direction? I am not sure if something changed on Twilio or on Sendgrid. I have quadruple checked the code and don't see any differences from yours.

I appreciate any help you can offer in addition to your very helpful original post!

Dave

Collapse
 
philnash profile image
Phil Nash

Oh, this might be because the got module doesn't come installed by default any more. Try going to the config section and adding got to the npm module dependency.

Collapse
 
dsazama profile image
Dave Sazama

That was it! Thanks!

Thread Thread
 
philnash profile image
Phil Nash

Oh good! Iā€™m out at a conference right now, but I will update this when I get the chance.