开发者社区 问答 正文

错误代码表



客户端错误

错误代码描述HTTP 状态码语义
MissingParameterThe input parameter that is mandatory for processing this request is not supplied400缺少参数
InvalidParameterThe specified value of parameter is not valid.400参数取值无效
UnsupportedOperationThe specified action is not supported.400无效的接口
NoSuchVersionThe specified version does not exist.400无效的版本
ThrottlingRequest was denied due to request throttling.400操作被流量控制系统拒绝
InvalidAccessKeyId.NotFoundThe Access Key ID provided does not exist in our records.400无效的 Access Key
ForbiddenUser not authorized to operate on the specified resource.403操作被禁止
Forbidden.RiskControlThis operation is forbidden by Aliyun Risk Control system.403操作被风险控制系统禁止
SignatureDoesNotMatchThe signature we calculated does not match the one you provided. Please refer to the API reference about authentication for details.403无效的签名
Forbidden.UserVerificationYour user account is not verified by Aliyun.403无实名验证


服务器端错误

错误代码描述HTTP 状态码语义
InternalErrorThe request processing has failed due to some unknown error, exception or failure.500服务器无法完成对请求的处理
ServiceUnavailableThe request has failed due to a temporary failure of the server.503服务器当前无法处理请求

展开
收起
boxti 2017-10-17 15:17:45 1803 分享 版权
阿里云 AI 助理回答

您列出的错误代码和描述涉及的是API调用时可能遇到的各种错误情况,这些错误既包括客户端错误也包括服务器端错误。下面我将基于阿里云产品的知识,为您解释这些错误及其解决建议:

客户端错误 (4xx状态码)

  1. MissingParameter: 缺少必要的请求参数。解决方法:检查您的API请求是否包含了所有必需的参数,并确保它们正确无误。

  2. InvalidParameter: 请求中某个参数的值无效。解决方法:核对参数的取值是否符合API文档中的要求,确保其格式和范围正确。

  3. UnsupportedOperation: 尝试使用的操作或接口不被支持。解决方法:确认所请求的操作或API版本是否已废弃或有替代方案,参考最新的API文档。

  4. NoSuchVersion: 指定的API版本不存在。解决方法:检查并更新请求中的API版本号,使用正确的版本进行调用。

  5. Throttling: 请求因流量控制被拒绝。解决方法:减少请求频率,或根据阿里云提供的配额和限流规则调整策略。

  6. InvalidAccessKeyId.NotFound: 提供的Access Key ID无效。解决方法:检查Access Key ID是否正确,确保它属于有效且启用的状态。

  7. Forbidden: 用户无权操作指定资源。解决方法:确认账号权限设置,确保拥有执行该操作所需的权限。

  8. Forbidden.RiskControl: 操作被阿里云风险控制系统禁止。解决方法:联系阿里云客服了解具体原因及解决方案,可能需要安全验证或调整策略。

  9. SignatureDoesNotMatch: 签名不匹配。解决方法:检查签名生成过程,确保时间戳、密钥、签名算法等均正确无误。

  10. Forbidden.UserVerification: 账户未通过实名验证。解决方法:完成阿里云账户的实名认证流程。

服务器端错误 (5xx状态码)

  1. InternalError: 未知错误导致请求处理失败。解决方法:通常这是服务端问题,建议稍后重试。如果问题持续,请联系阿里云技术支持。

  2. ServiceUnavailable: 服务器暂时无法处理请求,可能是过载或维护。解决方法:等待一段时间后重试。如频繁出现,同样建议联系技术支持。

在遇到这些错误时,首先应按照上述建议尝试解决问题。如果问题复杂或持续存在,及时查阅阿里云官方文档或直接联系阿里云客服获取帮助是非常重要的。

有帮助
无帮助
AI 助理回答生成答案可能存在不准确,仅供参考
0 条回答
写回答
取消 提交回答
问答分类:
API
问答地址: