<div style="padding:15px;border:3px solid red;color:red;font-weight:600;">
注意:这里的文档已经过时,已被弃用。请您复制访问下方链接查看我们最新的API文档:
https://certs-trustocean.doc.coding.io
</div>
## 错误状态码
### 更新日志
- 2019-01-31 增加错误码 `770039` , 账户余额不足时无法下单, 返回此错误码。
API操作不成功的状态由`status`字段表示,格式如下
```
{"status":"error","error_code":99001,"message":"error message goes here"}
```
具体的错误将由错误代码和错误信息进行标识,对照列表如下:
| 错误代码 | 参考消息 |
| --- | --- |
| 99901 | 您提供的 `unique_id` 不唯一, 请您重新生成unique_id后重试. |
| 99902 | 未上传CSR代码或CSR代码格式不正确, 请您检查后重试 |
| 99903 | CSR中不能添加IP地址! 请重新生成您的CSR代码 |
| 99904 | CSR中的域名无效, 请您重新生成CSR并提交 |
| 99905 | CSR中的国际化域名没有进行转码, 请您先对域名进行IDN转码再生成CSR提交. |
| 99906 | 您还未填写用于标识证书申请人和接收证书签发通知的电子邮件地址, 请您填写后重试 |
| 99907 | 您提供的域名格式不正确, 请您检查后重试 |
| 99908 | 此证书的第一个域名不能为IP地址, 请您调整位置后重试 |
| 99909 | `dcv_method` is not correct, please check your domain and dcv_method |
| 99910 | you provide one unsupported dcv_method('_method') for domain: _domain |
| 99911 | 来自CA的错误消息, 或因网络原因订单提交失败 |
| 99912 | 域名校验出现错误, 有重复域名、格式错误的域名,或当前证书不支持IP地址 |
| 99913 | Cannot reissue this order now, your order not in Issued_Active status |
| 99914 | cannot create SAN invoice for you, please check your account status |
| 99915 | 获取域名验证状态列表时出现错误, 请您刷新页面重试或联系我们获取帮助 |
| 99916 | 您为 _domain 选择的邮件地址不合法! |
| 99917 | DCV操作中未找到对应的域名! |
| 99918 | 域名 _domain 已经通过验证, 无法修改验证方式. |
| 99919 | IP地址 _domain 仅支持 HTTP、HTTPS两种方式验证。 |
| 99920 | 域名 _domain 修改验证方式失败, 您的域名可能已经通过了验证, 错误信息: _errorMessage |
| 90011 | 每隔3分钟可获取证书状态, 请您稍后再试. |
| 90013 | 出现未知错误, 请您稍后再试 |
| 90014 | 当前证书未提交到CA系统,暂时无法取回证书 |
| 90015 | 当前证书状态无法执行DCV操作. |
| 90016 | DCV操作每5分钟只能执行一次, 请您稍后再试. 距离下次执行还需要等待 _waitingTime 分钟。 |
| 90017 | DCV操作失败,该域名可能已经通过验证或请您稍后再试. |
| 90020 | 非多域名证书无法删除 _domainname |
| 90021 | 无法删除 _domainname 每个证书至少保留1条域名. |
| 90022 | 无法删除 _domainname 该域名已经通过验证. |
| 90023 | CA无法删除域名 _domainname , 错误信息: _errorMessage] |
| 99999 | unsupported mthod |
| 99998 | 不支持GET方式访问API |
| 99997 | does not a Partner Account |
| 99996 | does not a Partner Account, or your account not in active status |
| 99995 | your account cannot access our api, or you disabled the api by yourself |
| 99994 | API password or username not correct |
| 778803 | username and password must be present |
| 778805 | you do not have the partner privilege |
| 778805 | please set your account currency to CNY , for use our API service. |
| 778806 | your ip address _clientIP is not in whitelist |
| 770036 | An Open-Developer-API account cannot use this product |
| 770038 | An unknown partner account used to access API |
| 770039 | Your account balance is insufficient, please contact us.(账户余额不足,无法下单,请您先登录控制台进行充值。) |