错误码
当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处理。遇到“APIG”开头的错误码,请参考本文档进行处理。
模块 | 错误码 | 错误信息 | 说明 | 建议解决方法 |
|---|---|---|---|---|
模型推理 | PANGU.0010 | parameter illegal. | 请求参数错误。 | 请参考《API文档》输入正确的请求参数,并重新调试API。 |
PANGU.0011 | Authentication failed. | 认证失败。 | 认证鉴权失败,请参考《API文档》认证鉴权章节重新进行认证。 | |
PANGU.0012 | The authentication information is missing. | 缺少身份验证信息。 | 请检查调用API时是否有传入认证鉴权信息。 | |
PANGU.0031 | Inner service exception. | 服务内部异常。 | 请联系服务技术支持协助解决。 | |
PANGU.3254 | The requested inference service does not exist. | 资源不存在。 | 请检查调用API时projectId和deploymentId是否填写正确,推理服务状态是否可用。 | |
PANGU.3267 | The number of service invoking requests exceeds the project limit. | 用户调用过于频繁。 | 请降低请求频率。 | |
PANGU.3278 | required api parameter is not present. | 请求参数丢失。 | 请检查调用API时请求参数是否填写完整、是否有拼写错误、取值是否正确。 | |
PANGU.3318 | The total length of the question should be between 1 and 4096. | Content长度不合法。 | 请参考《API文档》检查请求参数中输入的Content参数长度是否不在范围内,并重新调试API。 | |
PANGU.3320 | The parameter [n] can only be 1 or 2 when calling non-streaming. | 非流式调用推理服务传的参数只能是1或者2。 | 请使用正确的取值:1或者2。 | |
PANGU.3321 | The parameter [n] can only be 1 when calling streaming. | 流式调用推理服务n只能取1。 | 请使用正确的取值:1。 | |
PANGU.3342 | Failed to invoke the inference service. please check the details field. | 调用推理服务失败,请查看错误详情。 | 调用推理服务失败,请查看错误详情。 | |
IIT.0201 | The input param is invalid!/The input param is invalid, please check your key! | 请求参数不合法。 | 请检查请求参数是否填写正确。 | |
IIT.0202 | Interval Server Error! | 内部错误。 | 请联系服务技术支持协助解决。 | |
IIT.0203 | The input param is invalid, the input data lens is less than the train data lens! | 请求参数不合法,输入参数中的数据长度小于训练所用数据长度。 | 请确认请求body中特征名称、特征数量是否与训练数据中的特征一致。 | |
PREDICT.0102 | Json format is wrong!或者其他与数据相关的特定报错信息 | 请求数据非JSON格式; 或者其他与数据相关的特定错误。 | 请将请求体设置为JSON格式; 或者根据数据相关的特定报错信息调整请求体。 | |
PREDICT.0201 | The input param is invalid!/The input param is invalid, please check your key! | 请求参数不合法。 | 请检查请求参数是否填写正确。 | |
PREDICT.0202 | Interval Server Error! | 内部错误。 | 请联系服务技术支持协助解决。 | |
PREDICT.0203 | The input param is invalid, the input data lens is less than the train data lens! | 请求参数不合法,输入参数中的数据长度小于训练所用数据长度。 | 请确认请求body中特征名称、特征数量是否与训练数据中的特征一致。 | |
APIG.0101 | The API does not exist or has not been published in the environment. | 访问的API不存在或尚未在环境中发布。 |
| |
APIG.0201 | Backend timeout. | 请求超时。 |
| |
APIG.0301 | Incorrect IAM authentication information. | IAM身份验证信息不正确:
|
| |
APIG.0308 | The throttling threshold has been reached: policy user over ratelimit,limit:XX,time:1 minute. | 发送请求超过了服务的默认配置限流。 |
|

