Status and Error codes
สถานะการส่งและค่าผลลัพธ์ตอบกลับ
Last updated
สถานะการส่งและค่าผลลัพธ์ตอบกลับ
Last updated
ในการใช้งาน API ท่านจะได้รับสถานะการส่ง และรหัสของผลลัพธ์ตอบกลับต่าง ๆ เพื่อที่จะเข้าใจถึงเหตุผล ปัจจัยต่าง ๆ และสามารถแก้ไขปัญหาได้ตรงจุด ข้อมูลด้านล่างเป็นการอธิบายรายการของรหัส แหตุผล และคำอธิบายต่าง ๆ
ทุก ๆรายการของ HTTP transaction จะมีรหัสสถานะส่งกลับมาจาก server เพื่อบ่งบอกว่า server ประมวลผลแต่ละรายการ transaction อย่างไร ซึ่งส่วนใหญ่สถานะ จะแสดงเป็น 200 OK และ 404 Not Found
ให้สังเกตุว่าหาก Response header HTTP status code แสดงค่าเป็น 200 OK แสดงว่าข้อความจะถูกส่งตาม Request body ถูกต้อง
นอกเหนือจาก สถานะ HTTP status code มาตราฐานแล้ว สถานะเหล่านั้นอาจจะส่งมาในส่วนของ API response message, รายงานการส่ง (delivery report) หรือ message log
Message has been processed and sent to the next instance i.e. mobile operator
Message has not been delivered
Message has successfully been processed and delivered
Message has been sent, and has either expired due to being pending past its validity period (our platform default is 48 hours), or the delivery report from the operator has reverted the expired as a final status.
Message has been received, but has either been rejected by ANTS, or the operator has reverted Rejected as final status.
Message has successfully send to operator
Code
Name
Remask
0
ACCEPTED
Message is accepted.
1
PENDING
Message is pending status.
2
UNDELIVERED
Message is undeliverable.
3
DELIVERED
Message is delivered.
4
EXPIRED
Message is expired.
5
REJECTED
Message is rejected.
6
COMPLATED
Message has successfully send to operator
Code
Description
000
Success
000
Message acknowledged by SMSC
101
Pending - Message has been accepted by the system
102
Send to operator success / Process - Message has been processed, and is ready to be sent to the next instance i.e. operator
Code
Description
204
Error - The request has been rejected due to an expected system error, please retry submission or contact our technical support team for more details
206
Malformed XML
207
Authentication failed
208
Service blocked
209
Non-Truemove recipient found Charged party is not Truemove/Realmove / Recipient is not Thailand mobile number
210
No service found
211
Congestion or Quota exceed
213
RTEC error" meaning The reserve credit system has connection error
214
Message rejected by SMSC
215
Malform
218
No operator configured type
219
Internal Error. Please try later
220
Undefined Error
221
PSA Connection failed
222
LDAP returns "Record not found
223
No response from LDAP/No connection to LDAP
224
First time calling
226
Diameter – Command unsupported
227
Diameter – Unable to deliver
228
Diameter – Realm not served
229
Diameter – Too busy
230
Diameter – Loop detected
231
Diameter – Redirect indication
232
Diameter – Application unsupported
233
Diameter – Unknown peer
234
Diameter – Authentication rejected
235
Diameter – Out of space
236
Election lost
237
Diameter – End user service denied
238
Diameter – Credit control not applicable
242
Diameter – INACT positive balance
243
User never open
244
Never used
245
User missing claim
246
User locked
247
Voice service stopped
251
Member account frozen
252
Member account reached monthly limit
253
Called member account frozen
254
Called member account reached monthly limit
255
Diameter dealt
259
Diameter invalid AVP bit combo
260
Diameter no common security
261
Diameter user unknown
262
Diameter rating failed
263
Diameter link down and let go
265
Connection time out (BS Access Failed)
266
Other error
267
Message has been blocked AntiSpam
268
Memory capacity exceeded
269
Subscriber error or not support
270
Unknown subscriber
271
Subscriber barring
272
Undefined subscriber
273
Telecommunication Service Not Supported
274
Admin ไม่ได้กำหนด Gateway
275
System error
276
Teleservice not provisioned.
277
Message Waiting List is Full
278
MS error
279
MS not equipped.
280
China Mobile phone memory full.
281
Subscriber busy
282
Error in MS
283
Unspecified error cause
284
The number of SMs that are buffered in the SMC memory and to be delivered to the called subscriber exceeds the maximum delivery number.
285
Submit SMS to SMSC Timeout
412
Message is empty
413
Sender not allowed
Code
Description
000
Successfully sent to phone
000
Complete – Message has been successfully processed and delivered to recipient processed and delivered to recipient
Code
Description
300
Expire - The message was received and sent to the operator, however it has been pending until the validity period has expired, or the operator returned expired status in the meantime / Absent subscriber or Subscriber unreachable
301
The subscription period to the associated service is already expired
302
User will expire
303
Balance have little money and User will expired
304
User expired
305
Absent subscriber or Subscriber unreachable
306
Mobile Switched Off
307
Sending SM fails.
Code
Description
200
Credit not enough - Your account is out of credits for further submission - please top up your account. For further assistance in topping up or applying for online account topup service you may contact your account manager
201
Blacklist - Number is blacklisted on ANTS account.
202
Duplicate - Request rejected due to duplicate
203
Cancel - Cancel requests by user
212
No enough credit meaning Your number has not enough credit. Please topup.
216
The recipient has no credit
217
Charged failed
225
Balance have little money
239
Diameter – Insufficient balance
240
Diameter – INACT negative balance
241
Diameter – Insufficient balance roaming
248
User invalid
249
Blacklist
250
Balance is zero
256
Diameter user blocked
257
Diameter user block activation
258
Diameter call destination blocked
264
Diameter link down and block
400
INVALID Acct" meaning Your number has expire date and change to inactive stat.
402
Invalid number - phone number formatted incorrectly
403
Invalid service id from the request
404
Invalid MSISDN number
405
Format Error
406
Invalid input format
407
Message rejected by SMSC.
Note: 256 means PSA+ Let GO
408
Diameter invalid HDR bits
409
Diameter invalid AVP bits
410
Message rejected by SMSC
411
Invalid sender / Erro - cannon read file
413
Sender not allowed
414
Invalid mobile phone. เบอร์ห้ามใช้ IMEI กลุ่มนี้ห้ามส่ง sms (barred IMEI)
Code
Description
COMPLETED
Send to operator success