Movider API of http://api.movider.co might return the error codes:

Internal error

CodeDescription
0NO_ERROR
1ERR_SYSTEM_FAILURE,
4ERR_DB_RECOVERING
5ERR_DB_RECOVERED_FAIL
6ERR_Q_RECOVERING
7ERR_Q_RECOVERED_FAIL
8ERR_CACHE_RECOVERING
9ERR_CACHE_RECOVERED_FAIL
10ERR_CONNECTION_TIMEOUT
11ERR_CONNECTION_REFUSED
12ERR_CONNECTION_FAILURE
13ERR_DB_FAILURE
14ERR_Q_FAILURE
15ERR_CACHE_FAILURE
50ERR_JSON_MARSHAL
51ERR_JSON_UNMARSHAL
52ERR_GIN_VARIABLE_NOT_FOUND
53ERR_QUERY_STRING
54ERR_MAKE_REQUEST
55ERR_IO_BODY
60ERR_POINTER

Error code can be

CodeDescription
2ERR_METHOD_NOT_ALLOWED
3ERR_NOT_FOUND
400ERR_INVALID_SENDMSG_FORM
401ERR_INVALID_APIKEY
402ERR_INVALID_APISECRET
403ERR_AUTHENTICATION_FAILED
404ERR_MEMBER_NOTFOUND
405ERR_MEMBER_BANNED
406ERR_MEMBER_SUSPENDED
407ERR_IP_WHITELIST_FAILURE
408ERR_IP_WHITELIST_NOT_ALLOWED
409ERR_INVALID_TO
410ERR_RECEIVER_NUMBER_OVER_LIMIT
411ERR_INVALID_RECEIVER_NUMBER
412ERR_INVALID_TEXT
413ERR_INVALID_CALLBACK_URL
415ERR_REGION_NOT_SUPPORT
416ERR_INSUFFICIENT_BALANCE
417ERR_BALANCE_EXPIRED
418ERR_INVALID_CODE_LENGTH
419ERR_INVALID_PIN_EXPIRE
420ERR_INVALID_NEXT_EVENT_WAIT
421ERR_LANG_NOT_SUPPORT
422ERR_ACKNOWLEDGE_FORM_INVALID
423ERR_CODE_INVALID
424ERR_REQUEST_ID_INVALID
425ERR_VERIFY_SMS_NOTFOUND
426ERR_VERIFY_SMS_ALREADY_VERIFIED
427ERR_VERIFY_SMS_EXPIRED
428ERR_VERIFY_SMS_INPROGRESS
429ERR_VERIFY_SMS_FAILED
441ERR_NUMBER_IS_VERIFYING
442ERR_CANCEL_FORM_INVALID
443ERR_VERIFY_NOT_MATCHED
444ERR_VERIFY_SMS_CANCELLED
445ERR_INVALID_CALLBACK_METHOD
446ERR_OFTEN_WRONG_APIKEY
447ERR_SENDER_FAILURE
448ERR_COUNTRY_SPECIFIC_CONDITION
449ERR_BAD_COUNTRY_SPECIFIC_CONDITION
453ERR_BALANCE_FORM
456ERR_MEMBER_TRAIL
460ERR_SENDER
461ERR_DELIVERY_DATETIME_REQUIRED
462ERR_DELIVERY_DATETIME_AFTER_CURRENT_DATETIME
463ERR_SMS_SCHEDULE_CREATE
464ERR_SMS_SCHEDULE_DETAIL_CREATE
465ERR_SMS_SCHEDULE_STATUS_UDATE
466ERR_SMS_SCHEDULE_ID_INVALID
467ERR_SMS_SCHEDULE_NOT_FOUND
468ERR_SMS_SCHEDULE_QUERY
469ERR_INVALID_API_KEY_SECRET
470ERR_SMS_SCHEDULE_NOT_ALLOWED_CANCEL

Following properties:

  • code integer: Error code
  • name string: Error name
  • description string: Readable error description
{
    "error": {
        "code": 462,
        "name": "ERR_DELIVERY_DATETIME_AFTER_CURRENT_DATETIME",
        "description": "Delivery datetime must be after current datetime"
    }
}