API 錯(cuò)誤代碼與描述
錯(cuò)誤代碼 | 描述 | Description |
---|---|---|
1004 | URL不能為空 | The URL can not empty |
1005 | 無(wú)效url | Invalid URL |
1006 | 無(wú)效域名 | Invalid Domain |
1007 | 請(qǐng)將密碼限制在256個(gè)字符以內(nèi) | Please limit the Password to 256 characters |
1008 | 請(qǐng)求超過(guò)單月限制 | Request exceeds month limit |
1009 | 密碼訪問(wèn)權(quán)限被拒絕 | Password access permission denied |
1010 | 訪問(wèn)限制權(quán)限被拒絕 | Access limit permission denied |
1011 | 沒(méi)有設(shè)置過(guò)期權(quán)限 | Expire permission denied |
1012 | 請(qǐng)將有效期限制在365天內(nèi) | Please limit the expiration to 365 days |
1013 | url被列入系統(tǒng)黑名單 | The URL is blocked by system blocklist |
1014 | 超過(guò)頻率限制,請(qǐng)限制短鏈接的請(qǐng)求頻率在每分鐘60次以內(nèi)。 | Exceed the frequency limit, please limit the request of shorturl get type to 60 times per minute. |
1015 | URL參數(shù)不正確 | URL parameter is incorrect |
1016 | URL不存在或短URL已過(guò)期 | URL does not exist or Short URL expired |
1017 | 短鏈接群組超出限制 | Short URL Group exceeds limit |
1018 | pause參數(shù)設(shè)置為String類型,"true"或者"false" | The pause parameter should be set to true or false value as a string |
1019 | 請(qǐng)把有效期限制在30天內(nèi) | Please limit the expiration to 30 days |
1020 | 請(qǐng)把有效期限制在90天內(nèi) | Please limit the expiration to 90 days |
1021 | 請(qǐng)把有效期限制在3年之內(nèi) | Please limit the expiration to 3 years |
注: 當(dāng) API 返回 307或者 309錯(cuò)誤時(shí),服務(wù)器會(huì)給出具體的 JSON decoding 錯(cuò)誤原因。
json_decoding_error 參數(shù)將以數(shù)字形式標(biāo)注錯(cuò)誤代碼
json_decoding_error:
1 = 到達(dá)了最大堆棧深度
2 = 無(wú)效或異常的 JSON
3 = 控制字符錯(cuò)誤,可能是編碼不對(duì)
4 = 語(yǔ)法錯(cuò)誤
5 = 異常的 UTF-8 字符,也許是因?yàn)椴徽_的編碼