title: Twilio 11200 HTTP Retrieval Failure — What does this mean?
body: <p>I've seen a few questions on Twilio's HTTP retrieval failure error.</p>
  
  <p>After quickly implementing a Node.js messaging server using Express, I began to consistently hit this error. It occasionally lags my text message responses by 10-20 seconds and shows up in the debugger.</p>
  
  <p>I'm wondering if I might be missing something obvious here. Since I'm using Twilio's example code it seems like this should work out of the box.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>app.post('/sms', (req, res) =&gt; {
  
    const data = req.body
    const message = data.Body
    const sender = data.From
  
    console.log('We\'ve received a text...')
    console.log('Sender: ', sender)
    console.log('Message: ', message)
  
    const responses = [
      'Message #1.',
      'Message #2.',
      'Message #3.',
      'Message #4.'
    ]
  
    client.sendMessage({
  
        to: '+11231231234', // Any number Twilio can deliver to
        from: '+11234564567', // A number you bought from Twilio and can use for outbound communication
        body: responses[ Math.floor(Math.random() * 4) ] // body of the SMS message
  
    }, function(err, responseData) { //this function is executed when a response is received from Twilio
  
        if (!err) { // "err" is an error received during the request, if any
  
            console.log(responseData.from); // outputs "+14506667788"
            console.log(responseData.body); // outputs "Printing some stuff."
  
        }
  
    });
  
  })
  </code></pre>
  
  <p>Any ideas what I'm doing wrong and/or how to resolve this? Thank you!</p>