OmniMessaging EMS Operator's Manual 1.8
OmniMessaging EMS Operator’s Guide 
Opsol Confidential and Proprietary       83
Appendix A 
API Error Codes 
API Error 
Codes 
Constant Name  Explanation 
0 
MSE_SUCCESS  The call is successful 
1 
MSE_SUCCESS_DOMAIN_IP_FORMAT  Call successful, but domain in IP format 
rather than more usual domain name. 
2 
MSE_SUCCESS_END  The call was successful and retrieved all 
available data 
3 
MSE_SUCCESS_PARTIAL  The call is successful and retrieved partial 
data 
4 
MSE_SUCCESS_WAIT  The called function has issued a nowaited 
call (via MTPLIB). The caller should return 
back to MTP. 
5 
MSE_SUCCESS_NULL    Null address supplied <> 
8 
MSE_ACCESS_RIGHT_INVALID  Access denied 
10 
MSE_ACCOUNT_DOESNT_EXIST  Account does Not exist 
11 
MSE_ACCOUNT_INACTIVE  Account has inactive status 
12 
MSE_ACCOUNT_LIMIT_REACHED  Max number of Domains has been hit 
13 
MSE_ACCOUNT_DUPLICATE  Account already exists 
14 
MSE_ACCOUNTS_EXIST  Accounts exist for given service package 
15 
MSE_ACCOUNT_ID_INVALID  Account is non-existing or inactive 
16 
MSE_ACCOUNT_STATUS_INACTIVE  Account status is inactive 
17 
MSE_ACCOUNT_DOMAINS_EXIST  Domains exist in given account 
20 
MSE_ADDRESS_DOESNT_EXIST  Address is non-existing 
21 
MSE_ADDRESS_DUPLICATE  Address already exists 
22 
MSE_ADDRESS_INACTIVE  Address status is inactive 
23 
MSE_ADDRESS_INVALID  Address is non-existing or inactive 
24 
MSE_ADDRESS_RESERVED_ERROR  Address is of special kind eg Postmaster 
25 
MSE_ADDRESSES_EXIST  Addresses other than postmaster are 
configured against a domain 
26 
MSE_ADDRESSES_NONE_FOUND  No addresses found. 
30 
MSE_AUTOREPLY_NOT_ALLOWED  Autoreplies are  inactive for the address 
specified 
31 
MSE_AUTOREPLY_SENT_RECENTLY  An autoreply has already been sent within 
the configured time 
40 
MSE_BLACKLISTED  The identifier supplied is present on a 
blacklist 
45 
MSE_CONTEXT_INVALID  Context passed to a function has  been 
corrupted 
50 
MSE_DOMAIN_DOESNT_EXIST  No domain exists with the supplied id or 
name 
51 
MSE_DOMAIN_NAME_DUPLICATE  Domain name already exists 
52 
MSE_DOMAIN_NAME_INVALID  Domain is non-existing or inactive 
53 
MSE_DOMAIN_NO_POSTMASTER  A Postmaster Submission Address has not 
been configured for this domain 
54 
MSE_DOMAIN_NONE_FOUND  No domain exists for given list criteria 
55 
MSE_DOMAIN_NOT_FOUND  No domain exists with the supplied id or 
name 
56 
MSE_DOMAIN_PARAM_TOO_LARGE  A domain parameter is larger than the 
system limit. 
57 
MSE_DOMAIN_RIGHTS_REJECTED  Rights can’t be altered for this domain and 
account 










