Movider API of http://api.movider.co might return the error codes:
Internal error
Code | Description |
---|---|
0 | NO_ERROR |
1 | ERR_SYSTEM_FAILURE, |
4 | ERR_DB_RECOVERING |
5 | ERR_DB_RECOVERED_FAIL |
6 | ERR_Q_RECOVERING |
7 | ERR_Q_RECOVERED_FAIL |
8 | ERR_CACHE_RECOVERING |
9 | ERR_CACHE_RECOVERED_FAIL |
10 | ERR_CONNECTION_TIMEOUT |
11 | ERR_CONNECTION_REFUSED |
12 | ERR_CONNECTION_FAILURE |
13 | ERR_DB_FAILURE |
14 | ERR_Q_FAILURE |
15 | ERR_CACHE_FAILURE |
50 | ERR_JSON_MARSHAL |
51 | ERR_JSON_UNMARSHAL |
52 | ERR_GIN_VARIABLE_NOT_FOUND |
53 | ERR_QUERY_STRING |
54 | ERR_MAKE_REQUEST |
55 | ERR_IO_BODY |
60 | ERR_POINTER |
Error code can be
Code | Description |
---|---|
2 | ERR_METHOD_NOT_ALLOWED |
3 | ERR_NOT_FOUND |
400 | ERR_INVALID_SENDMSG_FORM |
401 | ERR_INVALID_APIKEY |
402 | ERR_INVALID_APISECRET |
403 | ERR_AUTHENTICATION_FAILED |
404 | ERR_MEMBER_NOTFOUND |
405 | ERR_MEMBER_BANNED |
406 | ERR_MEMBER_SUSPENDED |
407 | ERR_IP_WHITELIST_FAILURE |
408 | ERR_IP_WHITELIST_NOT_ALLOWED |
409 | ERR_INVALID_TO |
410 | ERR_RECEIVER_NUMBER_OVER_LIMIT |
411 | ERR_INVALID_RECEIVER_NUMBER |
412 | ERR_INVALID_TEXT |
413 | ERR_INVALID_CALLBACK_URL |
415 | ERR_REGION_NOT_SUPPORT |
416 | ERR_INSUFFICIENT_BALANCE |
417 | ERR_BALANCE_EXPIRED |
418 | ERR_INVALID_CODE_LENGTH |
419 | ERR_INVALID_PIN_EXPIRE |
420 | ERR_INVALID_NEXT_EVENT_WAIT |
421 | ERR_LANG_NOT_SUPPORT |
422 | ERR_ACKNOWLEDGE_FORM_INVALID |
423 | ERR_CODE_INVALID |
424 | ERR_REQUEST_ID_INVALID |
425 | ERR_VERIFY_SMS_NOTFOUND |
426 | ERR_VERIFY_SMS_ALREADY_VERIFIED |
427 | ERR_VERIFY_SMS_EXPIRED |
428 | ERR_VERIFY_SMS_INPROGRESS |
429 | ERR_VERIFY_SMS_FAILED |
441 | ERR_NUMBER_IS_VERIFYING |
442 | ERR_CANCEL_FORM_INVALID |
443 | ERR_VERIFY_NOT_MATCHED |
444 | ERR_VERIFY_SMS_CANCELLED |
445 | ERR_INVALID_CALLBACK_METHOD |
446 | ERR_OFTEN_WRONG_APIKEY |
447 | ERR_SENDER_FAILURE |
448 | ERR_COUNTRY_SPECIFIC_CONDITION |
449 | ERR_BAD_COUNTRY_SPECIFIC_CONDITION |
453 | ERR_BALANCE_FORM |
456 | ERR_MEMBER_TRAIL |
460 | ERR_SENDER |
461 | ERR_DELIVERY_DATETIME_REQUIRED |
462 | ERR_DELIVERY_DATETIME_AFTER_CURRENT_DATETIME |
463 | ERR_SMS_SCHEDULE_CREATE |
464 | ERR_SMS_SCHEDULE_DETAIL_CREATE |
465 | ERR_SMS_SCHEDULE_STATUS_UDATE |
466 | ERR_SMS_SCHEDULE_ID_INVALID |
467 | ERR_SMS_SCHEDULE_NOT_FOUND |
468 | ERR_SMS_SCHEDULE_QUERY |
469 | ERR_INVALID_API_KEY_SECRET |
470 | ERR_SMS_SCHEDULE_NOT_ALLOWED_CANCEL |
Following properties:
code
integer: Error codename
string: Error namedescription
string: Readable error description
{
"error": {
"code": 462,
"name": "ERR_DELIVERY_DATETIME_AFTER_CURRENT_DATETIME",
"description": "Delivery datetime must be after current datetime"
}
}