884
阿里云
通用错误码__API-Reference_日志服务-阿里云
当 API请求发生错误的时候,服务端会返回错误信息,包括HTTP的Status Code和响应Body中的具体错误细节。其中响应Body中的错误细节为如下格式:
{
"errorCode" : <ErrorCode>,
"errorMessage" : <ErrorMessage>
}
在所有服务端可能返回的错误信息中,一部分适用于多数 API,而另外一部分则为某些 API所独有。下表即为 API响应中的通用错误码,它们会在多个 API响应中出现。而每个 API所独有的错误码会在该API参考中单独描述。
HTTP状态码(Status Code) | 错误码(Error Code) | 错误消息(Error Message) | 描述(Description) |
---|---|---|---|
411 | MissingContentLength | Content-Length does not exist in http header when it is necessary. | 没有提供必须的Content-Length请求头。 |
415 | InvalidContentType | Content-Type {type} is unsupported. | 不支持Content-Type指定的类型 |
400 | MissingContentType | Content-Type does not exist in http header when body is not empty. | 没有为Body不为空的HTTP请求指定Content-Type头。 |
400 | MissingBodyRawSize | x-log-bodyrawsize does not exist in header when it is necessary. | 压缩场景下没有提供必须的x-log-bodyrawsize请求头。 |
400 | InvalidBodyRawSize | x-log-bodyrawsize is invalid. | x-log-bodyrawsize的值无效。 |
400 | InvalidCompressType | x-log-compresstype {type} is unsupported. | x-log-compresstype指定的压缩方式不支持。 |
400 | MissingHost | Host does not exist in http header. | 没有提供HTTP标准请求头Host。 |
400 | MissingDate | Date does not exist in http heade. | 没有提供HTTP标准请求头Date。 |
400 | InvalidDateFormat | Date {date} must follow RFC822. | Date请求头的值不符合RFC822标准。 |
400 | MissingAPIVersion | x-log-apiversion does not exist in http header. | 没有提供HTTP请求头x-log-apiversion。 |
400 | InvalidAPIVersion | x-log-apiversion {version} is unsupported. | HTTP请求头x-log-apiversion的值不支持。 |
400 | MissAccessKeyId | x-log-accesskeyid does not exist in header. | 没有在Authorization头部提供AccessKeyId。 |
401 | Unauthorized | The AccessKeyId is unauthorized. | 提供的AccessKeyId值未授权。 |
400 | MissingSignatureMethod | x-log-signaturemethod does not exist in http header. | 没有提供HTTP请求头x-log-signaturemethod。 |
400 | InvalidSignatureMethod | signature method {method} is unsupported. | x-log-signaturemethod头部指定的签名方法不支持。 |
400 | RequestTimeTooSkewed | Request time exceeds server time more than 15 minutes. | 请求的发送时间超过当前服务处理时间前后15分钟的范围。 |
404 | ProjectNotExist | Project {name} does not exist. | 日志项目(Project)不存在。 |
401 | SignatureNotMatch | Signature {signature} is not matched. | 请求的数字签名不匹配。 |
403 | WriteQuotaExceed | Write quota is exceeded. | 超过写入日志限额。 |
403 | ReadQuotaExceed | Read quota is exceeded. | 超过读取日志限额。 |
500 | InternalServerError | Internal server error message. | 服务器内部错误。 |
503 | ServerBusy | The server is busy, please try again later. | 服务器正忙,请稍后再试。 |
错误消息中包括{...}部分为出错相关的具体信息。例如,ProjectNotExist的错误消息中包括{name},表示错误消息中该部分会被具体的Project Name来替换。
最后更新:2016-05-06 10:44:15
上一篇:
请求签名__API-Reference_日志服务-阿里云
下一篇:
CreateLogstore__日志库相关接口_API-Reference_日志服务-阿里云
[5]MNS API授权映射表__子账号访问MNS_控制台使用帮助_消息服务-阿里云
Android SDK手册__SDK手册_HTTPDNS-阿里云
修改产品信息__接口列表_服务器端API_阿里云物联网套件-阿里云
架构介绍__产品与_画像分析-阿里云
无法访问ECS上的网站__故障处理_云服务器 ECS-阿里云
格力回应造车传闻,阿里云被责令整改
OPUS格式语音编解码__一句话识别_语音识别(ASR)_智能语音交互-阿里云
用户区域占比__资源监控接口_API 手册_CDN-阿里云
火车票_阿里云帮助中心-阿里云,领先的云计算服务提供商
云数据库Redis版__访问其他云产品_操作指南_高性能计算-阿里云
相关内容
常见错误说明__附录_大数据计算服务-阿里云
发送短信接口__API使用手册_短信服务-阿里云
接口文档__Android_安全组件教程_移动安全-阿里云
运营商错误码(联通)__常见问题_短信服务-阿里云
设置短信模板__使用手册_短信服务-阿里云
OSS 权限问题及排查__常见错误及排除_最佳实践_对象存储 OSS-阿里云
消息通知__操作指南_批量计算-阿里云
设备端快速接入(MQTT)__快速开始_阿里云物联网套件-阿里云
查询API调用流量数据__API管理相关接口_API_API 网关-阿里云
使用STS访问__JavaScript-SDK_SDK 参考_对象存储 OSS-阿里云