Resolve the most common bot SMS problems using the guidance provided in the following sections. See also Send an SMS message from a bot and Troubleshoot bots.
Why are SMS messages only sent to the app creator?
Why are SMS messages not being sent?
The SMS message may not have been sent for several reasons. In all cases the audit history log will contain an error message describing why the SMS message was not sent.
When you are testing your bot, be aware of the following restrictions.
- SMS messages are only sent for deployed apps. If you app is not deployed, no SMS message is sent and an appropriate error is written to the Audit History. See Perform a deployment check.
- SMS messages are only sent if you are on a pricing plan that supports SMS. If you are not enrolled in a pricing plan that supports SMS, no SMS message is sent and an appropriate error is written to the Audit History. Despite this, you can use the values that are logged in Audit History to verify that your SMS messages are working properly.
Why are SMS messages not being delivered?
If the audit history log indicates that the SMS message was sent but the SMS message was not delivered, and the SMS message was sent from your personal Twilio account, do the following:
- Sign in to your Twilio account.
- On the Home page, click Logs to view the Product Logs page.
- Under Programmable SMS Logs, click Messages.
- Look for the SMS message matching the values displayed in the AppSheet Audit History. This will show you whether the SMS message was delivered. If not, a Twilio error message will be displayed.
Why are SMS messages being rejected?
If you attempt to send an SMS message to a phone number that has replied with STOP to one of your previous messages, no further messages will be delivered to that user. You will not be able to send SMS messages to the phone number until the subscriber identified by the phone number responds with START.
If you are using the AppSheet Twilio account, the START message should be sent to the AppSheet SMS phone number 1 425 287 5900
. (You can omit the 1 if calling from the United States.) If you are using your personal Twilio account, the START message should be sent to your personal Twilio SMS phone number.
To test the START message on an iPhone, do the following:
- Open the iPhone Messages app.
- Click New Message (pencil icon) at the top right of the screen
- In the To field enter the SMS phone number.
For example, enter the AppSheet Twilio account phone number1 425 287 5900
. - In the body field enter START.
- Click Send (up arrow icon).
You should receive a response similar to the following:
You have successfully been re-subscribed to messages from this number. Reply HELP for help. Reply STOP to unsubscribe.