Twilio Rest API uses the standard Http Status Code.
Status Code | Remark | Description |
---|---|---|
200 | OK | This indicates a successful request. |
201 | Created | This indicates a new resource was created. |
404 | Not Found | This indicates that the requested resource was not found. |
Error Codes
This section contains a list of possible error messages you might come across when using the Twilio API.
Error Code | Description |
---|---|
2127 | This indicates that the requested phone number is invalid. |
21422 | This indicates that the requested phone number is unavailable |
21421 | This indicates that the requested phone number is invalid. |
21606 | This indicates that the requested phone number is not owned by your account or is not SMS-capable. |
21611 | This indicates that the requested phone number SMS message queue is full. |
533 | This indicates that the requested area code doesn't have any available phone numbers. |