首页
应用列表
解决方案
新闻动态
帮助文档
关于我们
立即体验
常见错误信息汇总 V3
首页
文章详情
Aug 18,2023
尽管我们已经尽可能收集到了 AIGCaaS 平台可能存在的问题,但是还会有一些模型本身的错误信息难以收集,我们会在未来,更新这部分错误信息在当前文档。以协助开发者可以更快速定位问题所在以及更方便解决问题。 > 如何区分这个请求是不是有错误? > 为了让开发者更好区分请求是否出错以及可以明确本次请求是否计费,AIGCaaS 平台的 API 在调用之后,会在响应头中增加参数`Aigcaas-Status`,如果该参数取值为字符串格式的`True`,则表示当前请求是正常的,没有出现错误,此时会进行对应的扣费操作;如果取值为`False`,则表示当前请求非正常请求,已经出现错误,不会进行扣费操作(触发风控除外); 平台级错误信息汇总: | | HTTP 状态码 | 错误码 | 错误信息 | | ---- | ----------- | ------------------- | ------------------------------------------------------------ | | 1 | 400 | ParameterException | [Parameter exception, unable to complete the request](https://www.aigcaas.cn/v3/article/20) | | 2 | 400 | ParameterException | [Nonce parameter exception, max length is 64](https://www.aigcaas.cn/v3/article/21) | | 3 | 400 | ParameterException | [Duplicate request, nonce parameter exception](https://www.aigcaas.cn/v3/article/22) | | 4 | 401 | AuthorizationError | [Failed to obtain the requested key information](https://www.aigcaas.cn/v3/article/23) | | 5 | 401 | AuthorizationError | [The request cannot be completed due to abnormal user information or incorrect signature](https://www.aigcaas.cn/v3/article/24) | | 6 | 401 | AuthorizationError | [AccessKey has been disabled](https://www.aigcaas.cn/v3/article/25) | | 7 | 412 | AccountRestriction | [The user's status is abnormal, and may have been blocked, unable to complete the request.](https://www.aigcaas.cn/v3/article/26) | | 8 | 401 | AccountRestriction | [The real name authentication status is abnormal. Please complete the authentication and continue the operation](https://www.aigcaas.cn/v3/article/27) | | 9 | 401 | SignatureError | [The timestamp is invalid. Please ensure that the interval between the signature timestamp and the request time is less than 10 seconds.](https://www.aigcaas.cn/v3/article/28) | | 10 | 405 | MethodError | [Method exception, unable to obtain API details](https://www.aigcaas.cn/v3/article/29) | | 11 | 400 | APIError | [API information exception, unable to obtain API details](https://www.aigcaas.cn/v3/article/30) | | 12 | 412 | InsufficientBalance | [Insufficient account balance, unable to complete subsequent operations](https://www.aigcaas.cn/v3/article/31) | | 13 | 400 | SystemError | [Data exception, unable to complete the request.](https://www.aigcaas.cn/v3/article/32) | | 14 | 400 | SystemError | [The request parameter is abnormal, unable to complete the request](https://www.aigcaas.cn/v3/article/33) | | 15 | 412 | SensitiveSuspended | [The system has detected sensitive information and suspended processing](https://www.aigcaas.cn/v3/article/34) | | 16 | 400 | ModelError | [API Server Error, the system failed to obtain a correct return of the model](https://www.aigcaas.cn/v3/article/35) | | 17 | 400 | ModelError | [Model execution exception, acquisition result error](https://www.aigcaas.cn/v3/article/36) | | 18 | 400 | ModelError | [Failed to obtain results from the model](https://www.aigcaas.cn/v3/article/37) | | 19 | 400 | IdentityError | [Identity verification error](https://www.aigcaas.cn/v3/article/39) | 除了上述错误信息,系统本身还有以下错误信息(额外增加): ### Identity verification error **状态码**:400 **信息详情**: ``` { "error": "ParameterException", "message": "Incorrect timestamp format."", "help": "https://www.aigcaas.cn/article/38.html" } ``` **错误说明**: 该错误表示参数说错,主要是时间戳有问题,请检查在 Header 中传递的时间戳格式; ### Permission exception, unable to obtain results **状态码**:400 **信息详情**: ``` { "error": "PermissionError", "message": "Permission exception, unable to obtain results.", "help": "https://www.aigcaas.cn/article/38.html" } ``` **错误说明**: 该错误表示权限错误,会在异步调用获取结果时出现,请检查所传递的`RequestID` 是否正确,且是自己当前账号所获取的任务ID; ### There are currently no results, please try again later **状态码**:202 **信息详情**: ``` { "message": "There are currently no results, please try again later."", "help": "https://www.aigcaas.cn/article/38.html" } ``` **错误说明**: 该信息确切来说不是错误信息,只是提醒信息,告诉用户目前的异步任务还没完成,没有获得到结果信息;
Tags :
人工智能
平台
官方