Error code Error message HTTP status code Solution
AccessDenied The OwnerId that your Access Key Idassociated to is forbidden for this operation. 403 Check whether the AccessKey ID and AccessKey secret are valid.
InvalidAccessKeyId The AccessKey Id you provided is not exist. 403 Check whether the AccessKey ID is valid.
InternalError Interal error. 500 A system error occurred. Contact the MNS technical support.
InvalidAuthorizationHeader The Authorization header format is invalid. 400 The signature format is invalid. For more information about signatures, see Sign requests
InvalidDateHeader The Date header format is invalid. 400 The Date parameter is invalid. For more information about the Date parameter, see Common parameters
InvalidArgument The XML you provided did not validate against our published schema, cause by Element① Element. 400 The XML format is invalid. For more information about the XML format, see the corresponding API operation.
InvalidArgument The value of Element②should between Low③ and High④ seconds/bytes. 400 The value of the parameter is invalid. You must specify a valid value based on the instructions.
InvalidDegist The Content-MD5 you specified is invalid. 400 The value of the Content-MD5 parameter in the header is invalid.
InvalidRequestURL Http request URL format invalid. 400 The requested URL is invalid. For more information about the URL format, see the corresponding API operation.
InvalidQueryString Http request URL contains invalid querystring item “Element⑤”. 400 The requested URL is invalid. For more information about the URL format, see the corresponding API operation.
MalformedXML The XML you provided was not well-formed. 400 The XML format is invalid. For more information about the XML format, see the corresponding API operation.
MissingAuthorizationHeader Authorization header is required. 400 The Authorization header has not been specified. For more information about required request headers, see Common parameters
MissingDateHeader Date header is required. 400 The Date header has not been specified. For more information about required request headers, see Common parameters
MissingReceiptHandle ReceiptHandle is required. 400 The ReceiptHandle parameter has not been specified. For more information about the ReceiptHandle parameter, see the corresponding API operation.
MissingVisibilityTimeout VisibilityTimeout is required. 400 The VisibilityTimeout parameter has not been specified. For more information about the VisibilityTimeout parameter, see the corresponding API operation.
MessageNotExist Message not exist. 404 No visible message exists in the queue.
QueueAlreadyExist The queue you want to create is already exist. 409 A queue with the same name already exists and the parameters of the queue to be created are different from the queue that already exists.
InvalidQueueName The queue name you provided is invalid. QueueName should start with alpha and contain only alpha, digit or - . 400 The queue name is invalid. For more information about how to specify a valid queue name, see the corresponding API operation.
QueueNameLengthError Queue name length should between 1 and 255. 400 The queue name is invalid. For more information about how to specify a valid queue name, see the corresponding API operation.
QueueNotExist The queue name you provided is not exist. 404 The queue does not exist. To manage a queue, you must create the queue.
ReceiptHandleError The receipt handle you provide is not valid. 400 The ReceiptHandle parameter is invalid. For more information about the ReceiptHandle parameter, see the corresponding API operation.
SignatureDoesNotMatch The request signature we calculated does not match the signature you provided. Check your key and signing method. 403 The request signature is invalid. For more information about signatures, see Sign requests
TimeExpired The http request you sent is expired. 408 The interval between the time when the request is sent and the time when the MNS server receives the request exceeds 15 minutes. We recommend that you check the local system time.
QpsLimitExceeded The qps limit of the queue is exceeded ⑥ 400 The number of queries per second (QPS) for the queue exceeds the limit. To extend the limit, contact the MNS technical support.
TopicAlreadyExist The topic you want to create already exists. 409 A topic with the same name already exists and the parameters of the topic to be created are different from the topic that already exists.
TopicNameInvalid The topic name you provided is invalid. TopicName should start with alpha or digit and contain only alpha, digit or -. 400 The topic name is invalid. For more information about how to specify a valid topic name, see the corresponding API operation.
TopicNameLengthError Topic name length is out of range, should be between 1 and 255. 400 The topic name is invalid. For more information about how to specify a valid topic name, see the corresponding API operation.
TopicNotExist The Topic you provided does not exist. 404 The topic does not exist. To manage a topic, you must create the topic.
SubscriptionNameInvalid The subscription name you provided is invalid. SubscriptionName should start with alpha or digit and contain only alpha, digit or -. 400 The subscription name is invalid. For more information about how to specify a valid subscription name, see the corresponding API operation.
SubscriptionNameLengthError Subscription name length is out of range, should be between 1 and 255. 400 The subscription name is invalid. For more information about how to specify a valid subscription name, see the corresponding API operation.
SubscriptionNotExist The subscription you provided does not exist. 404 The subscription does not exist. To manage a subscription, you must create the subscription.
SubscriptionAlreadyExist The subscription you want to create already exists. 409 A subscription with the same name already exists and the parameters of the subscription to be created are different from the subscription that already exists.
EndpointInvalid The format of endpoint you provided is invalid. 400 The Endpoint parameter is invalid. For more information about endpoints, see Endpoints
InvalidArgument The length of message should not be larger than MaximumMessageSize. 400 The message is oversized. For more information about the maximum size of a message, see the corresponding API operation.
Note
  • ① or ② indicates a parameter in the request body. The content format of the request body is XML.
  • ③ indicates the minimum value of a parameter.
  • ④ indicates the maximum value of a parameter.
  • ⑤ indicates the QueryString parameter in the requested URL.
  • ⑥ The maximum QPS of an MNS queue is 5 KB.