开发者社区> 问答> 正文

消息服务的错误码有哪些?



MNS错误码表

错误码错误描述HTTP状态码建议处理方式
AccessDeniedThe OwnerId that your Access Key Idassociated to is forbidden for this operation.403检查AccessKeyId和AccessKeySecret等配置是否正确
InvalidAccessKeyIdThe AccessKey Id you provided is not exist.403检查AccessKeyId是否正确
InternalErrorInteral error.500系统错误,请联系MNS技术支持
InvalidAuthorizationHeaderThe Authorization header format is invalid.400签名格式不正确,请参考文档
InvalidDateHeaderThe Date header format is invalid.400Date字段不合法,请参考文档
InvalidArgumentThe XML you provided did not validate against our published schema, cause by Element① Element.400XML结构不正确,请参考对应API文档
InvalidArgumentThe value of Element②should between Low③ and High④ seconds/bytes.400参数值非法,请根据提示调整
InvalidDegistThe Content-MD5 you specified is invalid.400请求Header中Content-MD5不正确
InvalidRequestURLHttp request URL format invalid.400请求的URL不正确,请参考对应API文档
InvalidQueryStringHttp request URL contains invalid querystring item “Element⑤”.400请求的URL不正确,请参考对应API文档
MalformedXMLThe XML you provided was not well-formed.400XML结构异常,请参考对应API文档
MissingAuthorizationHeaderAuthorization header is required.400请求Header缺少字段,请参考文档
MissingDateHeaderDate header is required.400请求Header缺少字段,请参考文档
MissingReceiptHandleReceiptHandle is required.400请求缺少参数,请参考对应API文档
MissingVisibilityTimeoutVisibilityTimeout is required.400请求缺少参数,请参考对应API文档
MessageNotExistMessage not exist.404队列中没有可见消息
QueueAlreadyExistThe queue you want to create is already exist.409同名队列已存在,且请求属性与原有队列属性不同
InvalidQueueNameThe queue name you provided is invalid. QueueName should start with alpha and contain only alpha, digit or - .400队列名称不合法,请参考对应API文档
QueueNameLengthErrorQueue name length should between 1 and 256.400队列名称不合法,请参考对应API文档
QueueNotExistThe queue name you provided is not exist.404队列不存在,请先创建队列
ReceiptHandleErrorThe receipt handle you provide is not valid.400请求参数不合法,请参考对应API文档
SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.403请求签名异常,请参考文档
TimeExpiredThe http request you sent is expired.408请求时间与MNS服务器时间相差超过15分钟,建议检查本地时间
QpsLimitExceededThe qps limit of the queue is exceeded ⑥400队列每秒的请求次数超过QPS限制,如果需要提高QPS限制,请联系MNS技术支持
TopicAlreadyExistThe topic you want to create already exists.409同名主题已存在,且请求属性与原有主题属性不同
TopicNameInvalidThe topic name you provided is invalid. TopicName should start with alpha or digit and contain only alpha, digit or -.400主题名称不合法,请参考对应API文档
TopicNameLengthErrorTopic name length is out of range, should be between 1 and 256.400主题名称不合法,请参考对应API文档
TopicNotExistThe Topic you provided does not exist.404主题不存在,请先创建主题
SubscriptionNameInvalidThe subscription name you provided is invalid. SubscriptionName should start with alpha or digit and contain only alpha, digit or -.400订阅名称不合法,请参考对应API文档
SubscriptionNameLengthErrorSubscription name length is out of range, should be between 1 and 256.400订阅名称不合法,请参考对应API文档
SubscriptionNotExistThe subscription you provided does not exist.404订阅不存在,请先创建订阅
SubscriptionAlreadyExistThe subscription you want to create already exists.409同名订阅已经存在,且请求属性与原有订阅属性不同
EndpointInvalidThe format of endpoint you provided is invalid.400Endpoint参数不合法,请参考文档
InvalidArgumentThe length of message should not be larger than MaximumMessageSize.400消息体过长,请参考对应API文档

[backcolor=transparent]说明:

①②表示在请求内容的XML元素名称
③表示在MNS中某个参数的下限值
④表示在MNS中某个参数的上限值
⑤表示在URL请求中QueryString的元素
⑥当前MNS单个queue的QPS上限是5k

展开
收起
轩墨 2017-10-24 15:47:45 2785 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载