There are two types of error codes: client and server.
Client error codes suggest that the error was caused by
something the client did, such as an authentication failure or
an invalid AMI identifier. In the SOAP API, These error codes
are prefixed with Client.
For example:
Client.AuthFailure
. In the Query API, these
errors are accompanied by a 400-series HTTP response code.
Server error codes suggest a server-side issue caused the error
and should be reported. In the SOAP API,
these error codes are prefixed with Server
.
For example: Server.Unavailable
. In the
Query API, these errors are accompanied by a 500-series
HTTP response code.