All Products
Search
Document Center

Simple Message Queue (formerly MNS):Error codes

Last Updated:Nov 27, 2026

This article describes the error codes in Message Service (MNS) error responses.

Error codeError messageHTTP status codeDescription
AccessDeniedThe OwnerId that your Access Key Id associated to is forbidden for this operation.403The error message returned because the AccessKey ID and AccessKey secret are invalid. Check the AccessKey ID and AccessKey secret.
InvalidAccessKeyIdThe AccessKey Id you provided is not exist.403The error message returned because the AccessKey ID is invalid. Check the AccessKey ID.
InternalErrorInteral error.500The error message returned because a system error has occurred. Contact Simple Message Queue (formerly MNS) technical support.
InternalServerErrorInteral error.500The error message returned because a system error has occurred. Contact Simple Message Queue (formerly MNS) technical support.
InvalidAuthorizationHeaderThe Authorization header format is invalid.400The error message returned because the signature format is invalid. For more information, see Sign requests.
InvalidDateHeaderThe Date header format is invalid.400The error message returned because the format of the Date header is invalid. For more information, see Common parameters.
InvalidArgumentThe error message returned because the specified XML format is invalid.400For more information, see API Reference. For more information, see API Reference.
InvalidArgumentThe value of Element (2) must be between Low (3) and High (4) seconds/bytes.400The error message returned because the value of the parameter is invalid. You must specify a valid value as prompted.
InvalidDegistThe Content-MD5 you specified is invalid.400The error message returned because the value of the Content-MD5 header is invalid.
InvalidRequestURLHttp request URL format invalid.400The error message returned because the format of the requested URL is invalid. For more information, see API Reference.
InvalidQueryStringHttp request URL contains invalid querystring item "Element (5)".400The error message returned because the format of the requested URL is invalid. For more information, see API Reference.
MalformedXMLThe XML you provided was not well-formed.400The error message returned because the specified XML format is invalid. For more information, see API Reference.
MissingAuthorizationHeaderAuthorization header is required.400The error message returned because the Authorization header is not specified. For more information, see Common parameters.
MissingDateHeaderDate header is required.400The error message returned because the Date header is not specified. For more information, see Common parameters.
MissingReceiptHandleReceiptHandle is required.400The error message returned because the ReceiptHandle parameter is not specified. For more information, see API Reference.
MissingVisibilityTimeoutVisibilityTimeout is required.400The error message returned because the VisibilityTimeout is not specified. For more information, see API Reference.
MessageNotExistMessage not exist.404The error message returned because no visible message exists in the queue.
The receipt handle you provided has expired.404The error message returned because you have not consumed a message within the invisibility period and the receipt handle of the message has expired. Consume messages within the invisibility period or specify a longer invisibility period.
QueueAlreadyExistThe queue you want to create is already exist.409The error message returned because the specified queue has the same name as an existing queue, but has different parameters from the existing queue.
InvalidQueueNameThe queue name you provided is invalid. QueueName should start with alpha and contain only alpha, digit or - .400The error message returned because the specified queue name is invalid. For more information, see API Reference.
QueueNameLengthErrorQueue name length should between 1 and 255.400The error message returned because the specified queue name is invalid. For more information, see API Reference.
QueueNotExistThe queue name you provided is not exist.404The error message returned because the specified queue does not exist. Create a queue.
ReceiptHandleErrorThe receipt handle you provide is not valid.400The error message returned because the ReceiptHandle parameter is invalid. For more information, see API Reference.
SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.403The error message returned because the request signature is invalid. For more information, see Sign requests.
TimeExpiredThe http request you sent is expired.408The error message returned because the interval between the time when the request is sent and the time when the MNS server receives the request exceeds 15 minutes. Check the local system time.
QpsLimitExceededThe qps limit of the queue is exceeded (6).400The error message returned because the number of queries per second (QPS) for the queue exceeds the limit. Contact Simple Message Queue (formerly MNS) technical support.
TopicAlreadyExistThe topic you want to create already exists.409The error message returned because the specified topic has the same name as an existing topic, but has different parameters from the existing topic.
TopicNameInvalidThe topic name you provided is invalid. TopicName should start with alpha or digit and contain only alpha, digit or -.400The error message returned because the specified topic name is invalid. For more information, see API Reference.
TopicNameLengthErrorTopic name length is out of range, should be between 1 and 255.400The error message returned because the specified topic name is invalid. For more information, see API Reference.
TopicNotExistThe Topic you provided does not exist.404The error message returned because the topic does not exist. Create a topic.
SubscriptionNameInvalidThe subscription name you provided is invalid. SubscriptionName should start with alpha or digit and contain only alpha, digit or -.400The error message returned because the specified subscription name is invalid. For more information, see API Reference.
SubscriptionNameLengthErrorSubscription name length is out of range, should be between 1 and 255.400The error message returned because the specified subscription name is invalid. For more information, see API Reference.
SubscriptionNotExistThe subscription you provided does not exist.404The error message returned because the specified subscription does not exist. Create a subscription.
SubscriptionAlreadyExistThe subscription you want to create already exists.409The error message returned because the specified subscription has the same name as an existing subscription, but has different parameters from the existing subscription.
EndpointInvalidThe format of endpoint you provided is invalid.400The error message returned because the specified endpoint is invalid. For more information, see Endpoint.
InvalidArgumentThe length of message should not be larger than MaximumMessageSize.400The error message returned because the message body is oversized. For more information, see API Reference.
Note
  • (1) (2): a parameter in the request body. The content format of the request body is XML.
  • (3): the minimum value of a parameter in Simple Message Queue (formerly MNS).
  • (4): the maximum value of a parameter in Simple Message Queue (formerly MNS).
  • (5): the QueryString parameter in the requested URL.
  • (6): The QPS of an Simple Message Queue (formerly MNS) queue can be a maximum of 3,000.