API 錯誤代碼與描述
錯誤代碼 | 描述 | Description | |
---|---|---|---|
101 | 不正確的 APP ID | Incorrect APP ID | |
102 | 此應(yīng)用已被禁用,請至 submail > 應(yīng)用集成 > 應(yīng)用 頁面開啟此應(yīng)用 | This APP has been disabled | |
103 | 未啟用的開發(fā)者,此應(yīng)用的開發(fā)者身份未驗證,請更新您的開發(fā)者資料 | Developer is not available | |
104 | 此開發(fā)者未通過驗證或此開發(fā)者資料發(fā)生更改。請至應(yīng)用集成頁面更新你的開發(fā)者資料 | Developer is not available, please update your developer identity | |
105 | 此賬戶已過期 | This account is expired | |
106 | 此賬戶已被禁用 | This account has been disabled | |
107 | sign_type (驗證模式)必須設(shè)置為 MD5(MD5簽名模式)或 SHA1(SHA1簽名模式)或 normal (密匙模式). | Invalid sign_type. The sign_type must be set as MD5 or SHA1 or normal | |
108 | signature 參數(shù)無效 | Invalid signature | |
109 | appkey 無效 | Invalid appkey | |
110 | sign_type 錯誤 | Invalid sign_type | |
111 | 空的 signature 參數(shù) | Empty signature | |
112 | 應(yīng)用的訂閱與退訂功能已禁用。 | This APP’s subscription system has been disabled | |
113 | 請求的 APPID 已設(shè)置 IP 白名單,您的 IP 不在此白名單范圍 | APPID request has been set IP whitelist your IP is not in the scope of this white list | |
114 | 該手機號碼在賬戶黑名單中,已被屏蔽 | This phone number has been blocked by account blocklist | |
115 | 該手機號碼請求超限 | This phone number request frequency limit | |
116 | 簽名錯誤,該簽名已被其他應(yīng)用使用并已申請固定簽名 | The SMS signature has been using other appid | |
117 | 該模板已失效,短信模板簽名與固定簽名不一致或你的賬戶已取消固簽,請聯(lián)系 SUBMAIL 管理員 | The SMS templates error | |
118 | 該模板已失效,請聯(lián)系SUBMAIL管理員 | The SMS templates error | |
119 | 您不具備使用該API的權(quán)限,請聯(lián)系SUBMAIL管理員 | Permission Denied | |
120 | 模板已失效 | The SMS templates error | |
151 | 錯誤的 UNIX 時間戳 | timestamp error | |
152 | 錯誤的 UNIX 時間戳,請將請求 UNIX 時間戳 至 發(fā)送 API 的過程控制在6秒以內(nèi) | Invalid timestamp | |
201 | 未知的 addressbook 模式 | Unkown address book model | |
202 | 錯誤的收件人地址 | Incorrect recipient email address | |
203 | 錯誤的收件人地址。如果你正在使用 adressbook , 你所標(biāo)記的地址薄不包含任何聯(lián)系人。 | Incorrect recipient e-mail address! if you are using the addressbook model, this addressbook does not have any contacts | |
251 | 錯誤的收件人地址(message) | Incorrect recipient message address | |
252 | 錯誤的收件人地址(message)如果你正在使用 adressbook 模式,你所標(biāo)記的地址薄不包含任何聯(lián)系人。 | Incorrect recipient message address, if you are using the addressbook model, this addressbook does not have any contacts | |
253 | 此聯(lián)系人已退訂你的短信系統(tǒng)。 | This contact has unsubscribed your messaging system. | |
305 | 沒有填寫項目標(biāo)記 | Project ID cannot be empty | |
306 | 無效的項目標(biāo)記 | Invalid Project ID | |
307 | 錯誤的 json 格式。 請檢查 vars 和 links 參數(shù) | Incorrect json format, please check vars and link parameters | |
310 | tag參數(shù)長度不能超過32個字符。 | The tag is limited to 32 characters | |
401 | 短信簽名不能為空。 | Message signature cannot be empty | |
402 | 請將短信簽名控制在40個字符以內(nèi)。 | Please limit message signature to 40 characters | |
403 | 短信正文不能為空 | Message content cannot be empty | |
404 | 請將短信內(nèi)容(加上簽名)控制在1000個字符以內(nèi)。 | Please limit message content and signature to 1000 characters | |
405 | 依據(jù)當(dāng)?shù)胤煞ㄒ?guī),以下’$var’詞或短語不能出現(xiàn)在短信中。 | According to local laws and regulations, the following '$var' word or phrase can not appear in a text message | |
406 | 項目標(biāo)記不能為空 | Project ID cannot be empty | |
407 | 無效的項目標(biāo)記 | Invalid Project ID | |
408 | 你不能向此聯(lián)系人或此地址簿中包含的聯(lián)系人發(fā)送完全相同的短信。 | You cannot send same messages to this contact or the contact in the address book | |
409 | 嘗試發(fā)送的短信項目正在審核中,請稍候再試。 | This SMS project is being reviewed, please try again later. | |
410 | multi 參數(shù)無效 | empty multi value | |
411 | 您必須為每條短信模板提交一個短信簽名,且該簽名必須使用全角大括號”【“和”】“包括起來,請將短信簽名的字數(shù)控制在2至10字符以內(nèi)(括號不計算字符數(shù)) | empty sms signature | |
412 | 請將短信簽名的字數(shù)控制在10字符以內(nèi)(括號不計算字符數(shù)) | empty sms signature | |
413 | 請將短信簽名的字數(shù)控制在2到10個字符之間(括號不計算字符數(shù)) | empty sms signature | |
414 | 請?zhí)峤欢绦耪?/td> | empty sms content | |
415 | 請將短信正文的字數(shù)控制在1000個字符以內(nèi) | Please limit sms content to 1000 characters | |
416 | 請將短信標(biāo)題的字數(shù)控制在64個字符以內(nèi) | Please limit sms content to 64 characters | |
417 | 請?zhí)峤恍枰碌哪0錓D | Empty template Id | |
418 | 嘗試更新的模板不存在 | Target template does not exist | |
419 | 短信正文不能為空 | The sms content cannot be empty | |
420 | 找不到可匹配的模板 | There is no template match | |
422 | 請控制您的模板長度在255個字符內(nèi)。 | Please limit message content and signature to 255 characters | |
501 | 錯誤的目標(biāo)地址簿標(biāo)識 | Invalid target addresbook sign. | |
901 | 你今日的發(fā)送配額已用盡。如需提高發(fā)送配額,請至 submail > 應(yīng)用集成 >應(yīng)用 頁面開啟更多發(fā)送配額 | Your quota has been filled for the day | |
903 | 您的短信發(fā)送許可已用盡或您的余額不支持本次的請求數(shù)量。如需繼續(xù)發(fā)送,請至 submail.cn > 商店 頁面購買更多發(fā)送許可后重試。 | Your message account credit is not enough to support your sending request | |
904 | 您的賬戶余額已用盡或您的余額不支持本次的請求數(shù)量。如需繼續(xù)充值,請至 submail.cn > 商店 頁面購買更多發(fā)送許可后重試。 | Your money account credit is not enough to support your charge request | |
905 | 您的賬戶余額已用盡或您的余額不支持本次的請求數(shù)量。如需繼續(xù)充值,請至 submail.cn > 商店 頁面購買更多發(fā)送許可后重試。 | Your transactional sms credit is not enough to support your sending request |
注: 當(dāng) API 返回 307或者 309錯誤時,服務(wù)器會給出具體的 JSON decoding 錯誤原因。
json_decoding_error 參數(shù)將以數(shù)字形式標(biāo)注錯誤代碼
json_decoding_error:
1 = 到達了最大堆棧深度
2 = 無效或異常的 JSON
3 = 控制字符錯誤,可能是編碼不對
4 = 語法錯誤
5 = 異常的 UTF-8 字符,也許是因為不正確的編碼