Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Debugging Common Issues with SMS


There are several common issues users run into when sending or receiving SMS messages. This guide outlines a few of the most common problems and provides troubleshooting tips:


My message wasn't delivered

my-message-wasnt-delivered page anchor

There are several ways to troubleshoot an undelivered SMS message.

  1. Check your Messaging logs(link takes you to an external page) for a record of the SMS request. If you don't see a record of your message at all, the message likely encountered an error in your application or potentially with Twilio's API:

    • You can look at your error logs to see what error was caught, if any.
  2. If the SMS isn't in your logs and your application code is generating an error:

    • You can find some sample requests for sending SMS messages in your language of choice here on our documentation. These sample requests can help isolate any syntax issues that may have cropped up in your code.
  3. If you can't find the SMS in your logs and you received an error from Twilio:

    • If you received a 4XX response from Twilio's API, Twilio encountered a problem and wasn't able to send the message. You can look up the code you received in this list of errors .
  4. If the message is marked Undelivered or Failed in Twilio's logs:

  5. The message is marked Sent or Delivered in the logs but wasn't sent to the device:

    • To further debug, check out the section below for troubleshooting tips when a message doesn't arrive at your device.

Read more in the Troubleshooting Undelivered Twilio SMS Messages support article.(link takes you to an external page)


I'm not receiving SMS messages on my Twilio phone number

im-not-receiving-sms-messages-on-my-twilio-phone-number page anchor

There are several questions you should ask if messages are not reaching your Twilio number:

  1. Is your Twilio number SMS-enabled? Does it have a webhook configured?

    • Log in to your Twilio account, navigate to the Phone Numbers section(link takes you to an external page) and click on Manage Numbers .
    • Any number that shows the SMS icon can send and receive SMS messages:

      Buy a SMS or MMS capable phone number.Rate this page:

      Need some help?

      Terms of service

      Copyright © 2024 Twilio Inc.