API Error Codes
Overview
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.
Summary of Client Error Codes
Error Code | Description | Notes |
---|---|---|
AddressLimitExceeded
| User has the maximum number of allowed IP addresses. | Each user has an IP address limit. For new users, this limit is 5. If you need more than 5 Elastic IP addresses, please complete the |
AttachmentLimitExceeded
AuthFailure
IncorrectState
InstanceLimitExceeded
InvalidAMIAttributeItemValue
userId
, check that it is in the form of an AWS account ID.InvalidAMIID.Malformed
InvalidAMIID.NotFound
InvalidAMIID.Unavailable
InvalidAttachment.NotFound
InvalidDevice.InUse
InvalidInstanceID.Malformed
InvalidInstanceID.NotFound
InvalidKeyPair.NotFound
InvalidKeyPair.Duplicate
InvalidGroup.NotFound
InvalidGroup.Duplicate
InvalidGroup.InUse
InvalidGroup.Reserved
InvalidManifest
InvalidParameterCombination
minCount
and maxCount
set to 0 or minCount > maxCount.
InvalidParameterValue
DescribeImageAttribute
request or an invalid version
or encoding
value
for the userData
in a RunInstances
request.
InvalidPermission.Duplicate
InvalidPermission.Malformed
InvalidReservationID.Malformed
InvalidReservationID.NotFound
InvalidSnapshotID.Malformed
InvalidSnapshotID.NotFound
InvalidUserID.Malformed
owner
or executableBy
flags in the DescribeImages call.InvalidReservedInstancesId
InvalidReservedInstancesOfferingId
InvalidVolumeID.Malformed
InvalidVolumeID.NotFound
InvalidVolumeID.Duplicate
InvalidVolumeID.ZoneMismatch
InvalidZone.NotFound
InsufficientReservedInstancesCapacity
NonEBSInstance
PendingSnapshotLimitExceeded
ReservedInstancesLimitExceeded
SnapshotLimitExceeded
UnknownParameter
VolumeLimitExceeded
Summary of Server Error Codes
Error Code | Description | Notes |
---|---|---|
InternalError
|
Internal Error. | This error should not occur. If this persists, please contact us with details by posting a message on the AWS forums. |
InsufficientAddressCapacity
|
Not enough available addresses to satisfy your minimum request. | Reduce the number of addresses you are requesting or wait for additional capacity to become available. |
InsufficientInstanceCapacity
|
Not enough available instances to satisfy your minimum request. | Reduce the number of instances in your request or wait for additional capacity to become available. |
InsufficientReservedInstanceCapacity
|
Not enough available Reserved Instances to satisfy your minimum request. | Reduce the number of Reserved Instances in your request or wait for additional capacity to become available. |
Unavailable
|
The server is overloaded and cannot handle the request. |