Error & Status Codes

Appendix A

Possible result codes and descriptions:

Result Code Description
0 OK
100 OK
1 FAILED_WS
2 FAILED_WS_INVALID_FIELD
3 FAILED_WS_MISSING_USERNAME
4 FAILED_WS_USERNAME_INCLUDES_INVALID_CHARACTERS
5 FAILED_WS_ILLEGAL_USERNAME_LEN
6 FAILED_WS_INVALID_EMAIL_ADDRESS
7 FAILED_WS_USERNAME_NOT_EXISTS
15 FAILED_WS_INVALID_MOBILE_NUMBER
25 FAILED_WS_ILLEGAL_ARGUMENTS
26 FAILED_WS_INVALID_PHONE_NUMBER
27 FAILED_WS_MISSING_MOBILE
28 FAILED_WS_MISSING_DEVICES
32 FAILED_WS_VERIFICATION_FAILED
35 FAILED_WS_INVALID_ALPHANUMERIC
36 FAILED_WS_BILLING_FAILED
37 FAILED_WS_USER_IS_LOCKED
39 FAILED_WS_INTERNAL_ERROR
40 FAILED_WS_MISSING_IDENTIFIER
41 FAILED_WS_USER_NOT_ALLOWED
44 FAILED_WS_USER_IS_DELETED
45 FAILED_WS_USER_IS_DISABLED
47 FAILED_WS_NOT_ENOUGH_CREDIT
48 FAILED_WS_UNSUPPORTED_MIME_TYPE
49 FAILED_WS_MAX_FILE_SIZE_VIOLATION

 

Appendix B

Possible recipient device status values and descriptions:

Status Description
1000 – 1999 Statuses that indicate the message departed from the TeleMessage system to the recipient.
2000 – 2999 Statuses that indicate thatsome kind of acknowledgement was given by the recipient that the
message was delivered.
3000 – 3999 Statuses that indicate that the message is within the TeleMessage system and pending to be sent.
This may be due to system haven’t tried to send the message yet, or it have failed but a try is pending.
4000 – 4999 Statuses that indicate that the message have failed to be sent the recipient.
5000 – 5999 Statuses that indicate that sending the message to the recipient have been cancelled.