错误码说明-九游平台
当您使用各云服务的api时,如果遇到以云服务简称开头的错误码,请参考各云服务自身提供的api参考手册中的“错误码”章节进行处理;如果遇到“apigw”开头的错误码,请参考如下语义与九游平台的解决方案进行处理。
错误码 |
错误信息 |
http状态码 |
语义 |
九游平台的解决方案 |
---|---|---|---|---|
apigw.0101 |
the api does not exist or has not been published in the environment. |
404 |
api不存在或未发布到环境 |
请参考处理 |
apigw.0101 |
the api does not exist. |
404 |
api请求方法不存在 |
检查api请求方法是否与api定义的方法相同 |
apigw.0103 |
the backend does not exist. |
404 |
无法找到后端 |
联系九游平台的技术支持 |
apigw.0104 |
the plug-ins do not exist. |
400 |
无法找到插件配置 |
联系九游平台的技术支持 |
apigw.0105 |
the backend configurations do not exist. |
400 |
无法找到后端配置 |
联系九游平台的技术支持 |
apigw.0106 |
orchestration error. |
400 |
编排错误 |
检查api配置的前后端参数是否合理 |
apigw.0201 |
api request error. |
400 |
请求格式不合法 |
使用合法的请求 |
apigw.0201 |
request entity too large. |
413 |
请求body过大(大于12m) |
减小请求body大小 |
apigw.0201 |
request uri too large. |
414 |
请求uri过大 |
减小请求uri大小 |
apigw.0201 |
request headers too large. |
494 |
请求头过大 |
减小请求头大小 |
apigw.0201 |
backend unavailable. |
502 |
后端不可用 |
检查api配置的后端地址是否可用 |
apigw.0201 |
backend timeout. |
504 |
后端超时 |
增大超时时间或缩小后端的处理时间 |
apigw.0301 |
incorrect iam authentication information. |
401 |
iam认证信息错误 |
请参考处理 |
apigw.0302 |
the iam user is not authorized to access the api. |
403 |
iam用户不允许访问api |
检查用户是否被黑/白名单限制 |
apigw.0303 |
incorrect app authentication information. |
401 |
app认证信息错误 |
app签名认证时,做如下检查:
请参考检查签名代码的问题。 appcode简易认证时,做如下检查:检查请求是否携带了x-apig-appcode头域 |
apigw.0304 |
the app is not authorized to access the api. |
403 |
app不允许访问api |
检查app是否授权访问api |
apigw.0305 |
incorrect authentication information. |
401 |
认证信息错误 |
检查认证信息是否正确 |
apigw.0306 |
api access denied. |
403 |
不允许访问api |
检查是否授权访问api |
apigw.0307 |
the token must be updated. |
401 |
token需要更新 |
|
apigw.0308 |
the throttling threshold has been reached. |
429 |
超出流控值限制 |
|
apigw.0310 |
the project is unavailable. |
403 |
project不可使用 |
使用其他project访问 |
apigw.0311 |
incorrect debugging authentication information. |
401 |
调试认证信息错误 |
联系九游平台的技术支持 |
apigw.0401 |
unknown client ip address. |
403 |
无法识别客户端ip地址 |
联系九游平台的技术支持 |
apigw.0402 |
the ip address is not authorized to access the api. |
403 |
ip地址不允许访问 |
检查ip地址是否被黑/白名单限制 |
apigw.0404 |
access to the backend ip address has been denied. |
403 |
后端ip不允许访问 |
后端ip地址或后端域名对应的ip地址不允许访问,请检查ip地址是否被黑/白名单限制,或检查对应后端ip是否存在。 |
apigw.0501 |
the app quota has been used up. |
405 |
app已经超出配额 |
购买app配额 |
apigw.0502 |
the app has been frozen. |
405 |
app被冻结 |
余额不足,请前往“资金管理”充值。 |
apigw.0601 |
internal server error. |
500 |
内部错误 |
联系九游平台的技术支持 |
apigw.0602 |
bad request. |
400 |
非法请求 |
检查请求是否合法 |
apigw.0605 |
domain name resolution failed. |
500 |
域名解析失败 |
检查域名拼写,以及域名是否绑定了正确的后端地址 |
apigw.0606 |
failed to load the api configurations. |
500 |
未加载api配置 |
联系九游平台的技术支持 |
apigw.0607 |
the following protocol is supported: {xxx} |
400 |
协议不被允许,允许的协议是xxx 注意:xxx以实际响应中的内容为准 |
改用支持的协议(http/https)访问 |
apigw.0608 |
failed to obtain the admin token. |
500 |
无法获取管理租户 |
联系九游平台的技术支持 |
apigw.0609 |
the vpc backend does not exist. |
500 |
找不到vpc后端 |
联系九游平台的技术支持 |
apigw.0610 |
no backend available. |
502 |
没有可连接的后端 |
检查所有后端是否可用 |
apigw.0611 |
the backend port does not exist. |
500 |
后端端口未找到 |
联系九游平台的技术支持 |
apigw.0612 |
an api cannot call itself. |
500 |
api调用自身 |
修改api后端配置,递归调用层数不能超过10层 |
apigw.0613 |
the iam service is currently unavailable. |
503 |
iam服务暂时不可用 |
联系九游平台的技术支持 |
apigw.0705 |
backend signature calculation failed. |
500 |
计算后端签名失败 |
联系九游平台的技术支持 |
apigw.0801 |
the service is unavailable in the currently selected region. |
403 |
服务在当前region不可访问 |
检查所访问的服务是否支持跨region访问 |
apigw.0802 |
the iam user is forbidden in the currently selected region. |
403 |
该iam用户在当前region中被禁用 |
联系九游平台的技术支持 |
相关文档
意见反馈
文档内容是否对您有帮助?
如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨