Error Table

Error no.

HTTP status code

Description

0

200

NO_ERROR

description: No error.

1

500

ERROR_SYSTEM_FAILURE

description: System Failure.

2

405

ERROR_METHOD_NOT_ALLOWED

description: Method Not Allowed.

3

404

ERROR_NOT_FOUND

description: Not Found.

4

500

ERROR_DB_FAILURE

description: Database Failure.

5

500

ERROR_DB_RECOVERING

description: Database Recovering.

6

500

ERROR_DB_RECOVERED_FAIL

description: Database Recovered Failed.

7

500

ERROR_QUEUE_RECOVERING

description: Queue Recovering.

8

500

ERROR_QUEUE_FAILURE

description: Queue Failure.

9

500

ERROR_QUEUE_RECOVERED_FAIL

description: Queue Recovered Failed.

10

500

ERROR_CACHE_FAILURE

description: Cache Failure.

11

500

ERROR_CACHE_RECOVERING

description: Cache Recovering.

12

500

ERROR_CACHE_RECOVERED_FAIL

description: Cache Recovered Failed.

13

500

ERROR_CONNECTION_TIMEOUT

description: Connection Timeout.

14

500

ERROR_CONNECTION_REFUSED

description: Connection Refused.

15

500

ERROR_CONNECTION_FAILURE

description: Connection Failure.

50

500

ERROR_JSON_MARSHAL

description: JSON Marshal failed.

51

500

ERROR_JSON_UNMARSHAL

description: JSON Unmarshal failed.

52

500

ERROR_GIN_VARIABLE_NOT_FOUND

description: GIN variable not found.

53

500

ERROR_QUERY_STRING

description: Querystring values failed.

54

500

ERROR_MAKE_REQUEST

description: Cannot make request for request to client.

55

500

ERROR_IO_BODY

description: Cannot read response from client.

56

400

ERROR_FORM

description: Form is invalid.

100

401

ERROR_AUTHENTICATION_FAILED

description: Authentication failed.

101

403

ERROR_API_KEY_SUSPENDED

description: This API key has been suspended.

102

403

ERROR_IP_SUSPENDED

description: This IP has been suspended.

103

500

ERROR_IP_WHITELIST

description: IP Whitelist failed.

104

403

ERROR_IP_NOT_ALLOWED

description: This IP is not allowed.

105

404

ERROR_USER_NOT_FOUND

description: User not found.

106

403

ERROR_USER_BLOCKED

description: User has been blocked.

107

404

ERROR_USER_PROFILE_NOT_FOUND

description: User profile not found.

108

403

ERROR_USER_TRIAL

description: You are a trial member that can use the registered phone number only.

109

400

ERROR_FORCE

description: Force is invalid.

110

400

ERROR_SENDER

description: Sender is invalid.

111

404

ERROR_SENDER_NOT_FOUND

description: Sender not found.

112

400

ERROR_MESSAGE

description: The message is invalid.

113

400

ERROR_MESSAGE_TOO_LONG

description: The message is too long.

114

400

ERROR_MSISDN

description: MSISDN is invalid.

115

400

ERROR_MSISDN_EXCEEDED_LIMIT

description: MSISDN exceeded the limit.

116

400

ERROR_INSUFFICIENT_CREDIT

description: Insufficient credit.

118

400

ERROR_CALLBACK_URL

description: Callback Url is invalid.

119

400

ERROR_CALLBACK_METHOD

description: You can choose callback method are GET, POST or PUT method.

120

400

ERROR_SCHEDULED_DELIVERY

description: Scheduled delivery must be ISO-8601 (RFC-3339) format

121

400

ERROR_SCHEDULED_DELIVERY_TOO_FAR

description: Scheduled delivery must be less than 1 year.

122

400

ERROR_SCHEDULED_DELIVERY_TIMEZONE

description: Scheduled delivery must be used Asia/Bangkok timezone (+07:00).

123

400

ERROR_TAGS

description: Tags is invalid.

124

400

ERROR_TAGS_EXCEEDED_LENGTH

description: Tags exceeded the limit.

125

500

ERROR_TAGS_CREATE

description: Cannot create new tags.

126

400

ERROR_TAGS_EXIST

description: Tags exist.

128

403

ERROR_API_KEY_DISABLED

description: This API key has been disabled.

131

500

ERROR_SCHEDULED_DELIVERY_CREATE

description: Cannot create scheduled delivery.

132

500

ERROR_PUBLISH_OUTBOUND

description: Cannot publish outbound SMS data.

133

500

ERROR_API_KEY_DELETE_CACHE

description: Cannot delete cache of api_key.

134

404

ERROR_ACC_ID_NOT_FOUND

description: Acc ID not found.

135

500

ERROR_USER_TEMPLATE

description: User template failure.

136

400

ERROR_USER_TEMPLATE_NOT_MATCH

description: User template not match.