在请求接口时,如果返回errorId
并值为1,你可以在errorCode和errorDescription中看到具体的错误信息If you receive errorId
when making a request to the API, you can check the errorCode and errorDescription fields for more detailed error information.
代码块 |
---|
{ "errorId": 1, "errorCode": "错误代码errorCode", "errorDescription": "错误描述errorDescription", } |
errorCode | errorDescription | 说明Description | |
---|---|---|---|
ERROR_SERVICE_UNAVALIABLE | 服务暂时不可用 | 可能是服务器压力较大,请稍后再试,如果持续出现请联系客服Service is temporarily unavailable | Perhaps the server is under heavy load. Please try again later. If the issue persists, please contact customer service |
ERROR_REQUIRED_FIELDS | 请检查字段:XXX | 缺少字段或者字段错误,请仔细检查Please check the following fields: XXX | Missing or incorrect field. Please carefully check your input |
ERROR_THREADS_MAXIMUM | 识别任务已达到最大 | 从任务创建到识别完成为1个并发,超过并发上限会提示此错误The recognition task has reached its maximum limit | When the number of concurrent requests exceeds the limit (1 concurrent request from task creation to recognition completion), this error will be prompted |
ERROR_PAGE_NOT_FOUND | 请求的页面不存在 | 请求了不存在路径The requested page does not exist | The requested path does not exist |
ERROR_BAD_REQUEST | 错误请求 | 请求出现错误,如果持续出现请联系客服Error in the request | An error occurred in the request. If the issue persists, please contact customer service |
ERROR_INTERNAL_SERVER_ERROR | 服务器内部错误 | 如果持续出现请联系客服Internal server error | If the issue persists, please contact customer service |
ERROR_IP_BANNED | 你的IP已被屏蔽10分钟 | 短时间内(1分钟内)出现大量错误(持续达1000次),将会自动屏蔽30分钟,请检查您的错误信息后重试Your IP address has been blocked for 10 minutes | If there are a large number of errors (reaching 1000 times) within a short period of time (1 minute), the system will automatically block for 30 minutes. Please check your error messages and retry |
ERROR_TASKID_INVALID | 任务ID不存在或已失效 | 请求了错误的ID,或者ID已经不存在The task ID does not exist or has expired | The ID requested is incorrect or has already expired |
ERROR_TASK_TIMEOUT | 任务已超时 | 120秒如果仍未识别成功,则会报超时错误The task has timed out | If the recognition process exceeds 120 seconds, a timeout error will be reported |
ERROR_SETTLEMENT_FAILED | 任务点数结算失败 | 请检查余额或联系客服Failure in task point settlement | Please check your balance or contact customer service |
ERROR_KEY_DOES_NOT_EXIST | 帐户密钥错误 | 请检查你的clientKey密钥是否正确,在个人中心获取Invalid account key | Please check whether your clientKey is correct. You can obtain it in the personal center |
ERROR_ZERO_BALANCE | 帐户余额不足 | 帐户余额不足已消费抵扣,请充值Insufficient account balance | Insufficient account balance. Please recharge |
ERROR_NO_SUCH_METHOD | 不支持的请求方法 | 不支持GET方法,仅支持POST方法提交Unsupported request method | Only POST method is supported, and not the GET method |
ERROR_TASK_NOT_SUPPORTED | 任务类型不受支持 | 验证码类型不正确或尚未支持Unsupported task type | The captcha type is incorrect or not yet supported |
ERROR_CAPTCHA_UNSOLVABLE | 验证码未能识别 | 不会扣费,请重试Unable to recognize captcha | No charges will be deducted. Please retry |
ERROR_NO_SUCH_CAPCHA_ID | 验证码任务已失效 | 不会扣费,请重试Captcha task has expired | No charges will be deducted. Please retry |
ERROR_RECAPTCHA_INVALID_SITEKEY | 目标网站SITEKEY无效 | 不会扣费,如果确认SiteKey没错的话,重试即可Invalid SITEKEY for target website | No charges will be deducted. If the SiteKey is confirmed to be correct, please retry |
ERROR_UNKNOWN_QUESTION | 错误的问题ID | 请检查问题ID是否正确Incorrect question ID | Please check whether the question ID is correct |
ERROR_ILLEGAL_IMAGE | 图片大小不符合要求 | 请缩放至指定大小450x450Image size does not meet the requirements | Please scale the image to the specified size: 450x450/300x300/100x100 |
ERROR_UNKNOW_450x450_QUESTION | 这个尺寸暂时不支持这个问题 | 暂时不能很好的识别这个问题相关的图片,请重试其他类型的图片This size is currently not supported for this question | The system may not be able to recognize images related to this question type. Please retry with other types of images |
ERROR_PARSE_IMAGE_FAIL | 解析图片失败 | 请确认图片BASE64编码是否正确Failed to parse image | Please confirm whether the image BASE64 encoding is correct |
ERROR_IP_BLOCKED_5MIN | 由于过多错误请求已被屏蔽 | 由于过多错误请求已被屏蔽,5分钟后自动解封,请稍后再试。您可以查阅开发文档了解自动屏蔽机制详情。Due to too many error requests, access has been blocked | Due to too many error requests, access has been blocked. The system will automatically unblock after 5 minutes. Please refer to the development documentation for details on the automatic blocking mechanism |
ERROR_NO_SLOT_AVAILABLE | 服务器资源不足,请稍后重试 | 请延后3秒再重试,不要短时间内大量重复发起请求,会触发自动阻塞机制Insufficient server resources, please retry later | Please wait for 3 seconds before retrying. Do not send a large number of repeated requests within a short period of time, as it may trigger the automatic blocking mechanism |
ERROR_NO_SLOT_AVAILABLE_BLOCK | 服务器资源不足,请等待20秒后重试 | 1分钟内产生20次以上的ERRORInsufficient server resources, please wait for 20 seconds and try again | If ERROR_NO_SLOT_AVAILABLE将会触发自动阻塞,需要等待20秒后才可以继续创建任务AVAILABLE occurs more than 20 times within 1 minute, it will trigger automatic blocking. You will need to wait for 20 seconds before continuing to create tasks |