Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Twilio Best Practices

You're reading from   Twilio Best Practices Learn how to build powerful real-time voice and SMS applications with Twilio

Arrow left icon
Product type Paperback
Published in Dec 2014
Publisher
ISBN-13 9781782175896
Length 178 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (10) Chapters Close

Fixing common errors


Some errors in our application will be particularly common and are likely to be relatively simple to fix in most cases. This section has a quick rundown.

Note

You can find Twilio's full reference of error codes and their meanings at http://www.twilio.com/docs/errors/reference.

112** – HTTP errors

If Twilio has difficulties requesting TwiML from your application; for example, because your server is down, one of the error codes starting in 112 will be triggered.

These errors signify that Twilio hasn't even been able to get the TwiML from your server. Most likely, it is down, incorrectly configured, or otherwise messed up. Alternatively, the DNS records on your domain might be incorrect.

To fix this, take a look at the specifics of the error, and ideally, try placing a request yourself to see what happens.

Note

If you're using ngrok to run your Twilio application locally, then when you restart it, you'll get a new and different URL for your applications by default, which will cause...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image