Error Codes

 

 Code Description  
1 Phone number is opted out.  
2 Forbidden words.

List Forbidden Words »

Forbidden Words & Phrases »

3 Empty MMS resource.  
4 Unprocessable entity.  
5 Not enough credit.  
6 API App is NOT activated.  
7 Invalid IP address.  
8 SMS Sending Failed - limitation has been reach: SMS with same content can be sent 1 time every 10 seconds.  
301 Sender Long Code is temporarily blocked.  
302 Sender Long Code is permanently blocked.  

 

Example Error Response Headers:

Status Code: 422 Data Validation Failed.
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: Keep-Alive
Content-Length: 171
Content-Type: application/xml; charset=UTF-8
Date: Tue, 29 Aug 2017 13:16:26 GMT
Expires: Thu, 19 Nov 2017 08:52:00 GMT
Keep-Alive: timeout=15, max=100
Pragma: no-cache
Server: nginx (CentOS)
X-Powered-By: PHP/5.6.16
X-Rate-Limit-Limit: 1000
X-Rate-Limit-Remaining: 999
X-Rate-Limit-Reset: 0

Example Error Response Body:

{
    	"name":"Unprocessable entity",
        "message": "Phone number is opted out.",
        "code":1,
        "status":422
}
<response>
    <name>Unprocessable entity</name>
    <message>Phone number is opted out.</message>
    <code>1</code>
    <status>422</status>
</response>