| Did this page help you? Yes No Tell us about it... |
This section lists the errors shared by all actions. Errors specific to an action are listed in the topic about that action. For information about the structure of an error response, see Responses section in the Amazon SQS Developer Guide.
![]() | Important |
|---|---|
We might throttle requests to Amazon SQS as necessary. When we throttle, we return a 503 (service unavailable) HTTP status code. Your system should be prepared to retry any request that receives a 503 code. |
| Error | Description | HTTP Status Code |
|---|---|---|
| Access to the resource is denied. | 403 |
| A value used for authentication could not be validated, such as | 401 |
| There is an internal problem with SQS, which you cannot resolve. Retry the request. If the problem persists, contact us through the Amazon SQS Discussion Forums. | 500 |
| Queue does not exist. | 400 |
| The query parameter | 400 |
| There is an internal problem with SQS, which you cannot resolve. Retry the request. If the problem persists, contact us through the Amazon SQS Discussion Forums. | 500 |
| AWS was not able to validate the provided access credentials. | 401 |
| The action specified was invalid. | 400 |
| The address | 404 |
| Invalid HTTP request. Reason: | 400 |
| Two parameters were specified that cannot be used together, such as | 400 |
| One or more parameters cannot be validated. | 400 |
| The query parameter | 400 |
| The service cannot handle the request. Request is invalid. | 400 |
| The provided security credentials are not valid. Reason: | 403 |
| The security token used in the request is invalid. Reason: | 400 |
| Version not well formed: | 400 |
| Request must contain AWSAccessKeyId or X.509 certificate. | 403 |
| AWS was not able to authenticate the request: access credentials are missing. | 401 |
| A required parameter is missing. | 400 |
| An incorrect version was specified in the request. | 400 |
| Users who sign up to use Amazon SQS after February 1, 2008, must use API version 2008-01-01 and above; not previous API versions. | 401 |
| The timestamp used with the signature has expired. | 400 |
| Request is throttled. | 503 |
| A required server needed by SQS is unavailable. This error is often temporary; resend the request after a short wait. | 503 |
| Signed info is corrupt. | 400 |
| Timestamp for created date must be in ISO8601 format. | 400 |
| BinarySecurityToken must have EncodingType of | 400 |
| Timestamp for expires date must be in ISO8601 format. | 400 |
| BinarySecurityToken has bad ValueType. | 400 |
| BinarySecurityToken must have attribute ValueType. | 400 |
| Request must not contain more than one BinarySecurityToken with valueType | 400 |
| Request must not contain more than one BinarySecurityToken with valueType | 400 |
| Error while processing signature element. | 400 |
| SignatureValue is missing or empty. | 400 |
| Request has no SignedInfo. | 400 |
| Request has expired. | 400 |
| Timestamp must have Expires element. | 400 |
| Security Header Element is missing the timestamp element. | 400 |
| Request cannot contain both Credential and an X.509 certificate. | 400 |
| Could not parse X.509 certificate. | 400 |
The following sample response is for an AuthFailure error.
<ErrorResponse>
<Error>
<Type>
Sender
</Type>
<Code>
AuthFailure
</Code>
<Message>
The provided signature is not valid for this access token
</Message>
<Detail/>
</Error>
<RequestId>
ef3aba6a-dc84-4937-91bf-cef2ddd6775a
</RequestId>
</ErrorResponse>