AWS Storage Gateway User Guide
Exceptions
Depending on the type of error, AWS Storage Gateway may return only just an exception, or it may
return both an exception and an operation error code. Examples of error responses are shown in the
.
Exceptions
The following table lists AWS Storage Gateway API exceptions. When an AWS Storage Gateway
operation returns an error response, the response body contains one of these exceptions. The
InternalServerError
and
InvalidGatewayRequestException
return one of the operation error
Operation Error Codes (p. 404)
message codes that give the specific operation error code.
Exception
Message
HTTP Status Code
IncompleteSignatureException
The specified signature is incomplete.
400 Bad Request
InternalFailure
The request processing has failed due
to some unknown error, exception or
failure.
500 Internal Server
Error
InternalServerError
One of the operation error
500 Internal Server
Error
InvalidAction
The requested action or operation is
invalid.
400 Bad Request
InvalidClientTokenId
The X.509 certificate or AWS Access
Key ID provided does not exist in our
records.
403 Forbidden
InvalidGatewayRequestException
One of the operation error code
400 Bad Request
InvalidSignatureException
The request signature we calculated
does not match the signature you
provided. Check your AWS Access Key
and signing method.
400 Bad Request
MissingAction
The request is missing an action or
operation parameter.
400 Bad Request
MissingAuthenticationToken
The request must contain either a valid
(registered) AWS Access Key ID or X.509
certificate.
403 Forbidden
RequestExpired
The request is past the expiration date
or the request date (either with 15
minute padding), or the request date
occurs more than 15 minutes in the
future.
400 Bad Request
SerializationException
An error occurred during serialization.
Check that your JSON payload is well-
formed.
400 Bad Request
ServiceUnavailable
The request has failed due to a
temporary failure of the server.
503 Service
Unavailable
API Version 2013-06-30
403