Common client and server error codes returned by ROS API operations.
Client error codes
|
Error code |
Error message |
HTTP status code |
Description |
|
UnknownError |
The request processing has failed due to some unknown error. |
400 |
An unknown client-side error occurred. |
|
MissingParameter |
The input parameter {name} should be specified. |
400 |
A required input parameter is missing. name indicates the parameter name. |
|
One of the input parameters {names} should be specified. |
400 |
A required input parameter is missing. You must specify one of the parameters in the names list. |
|
|
The input parameter {name} should be specified, {reason}. |
400 |
A required input parameter is missing. name indicates the parameter name. reason indicates the cause. |
|
|
InvalidParameter |
The specified parameter {name} is invalid. |
400 |
The specified parameter is invalid. name indicates the parameter name. |
|
The specified parameter {name} is invalid, {reason}. |
400 |
The specified parameter is invalid. name indicates the parameter name. reason indicates the cause. |
|
|
MultipleParameter |
Only one of the input parameters {names} can be specified. |
400 |
Too many parameters specified. You can specify only one of the parameters in the names list. |
|
InvalidIdempotenceParameter |
The specified parameters are different from before. |
400 |
The idempotence tokens match, but the request parameters differ from the previous request. |
|
LastTokenProcessing |
The last token request is processing. |
400 |
The previous token request is still being processed. Try again later. |
|
Invalid |
Data supplied was not valid: {reason}. |
400 |
The supplied data is invalid. reason indicates the cause. |
|
InvalidValue |
{reason}. |
400 |
The specified value is invalid. reason indicates the cause. |
|
RequestLimitExceeded |
Request limit exceeded: {reason}. |
400 |
The request exceeds a limit. reason indicates the cause. You can adjust quotas to change the limits. |
|
NotSupported |
{feature} is not supported. |
400 |
The specified feature or operation is not supported. feature indicates the specific feature or operation. |
|
MismatchNextToken |
{name} mismatches next token. |
400 |
The specified parameter does not match the next token. name indicates the parameter name. |
|
AssumeRoleFailure |
Fail to assume role {name}: {reason} |
400 |
ROS failed to assume the specified RAM role. name indicates the RAM role name. reason indicates the cause. |
|
Forbidden |
You are not authorized to complete this action. |
403 |
You are not authorized to perform this action. |
|
A required authorization for the specified action {api} is not supplied. Code: {code} RequestId: {request_id} |
403 |
ROS is not authorized to call the specified operation. api indicates the operation name. code indicates the error code. request_id indicates the request ID. |
|
|
AccountTypeNotSupported |
Account type not supported. |
403 |
The account type is not supported. |
|
NotFound |
{reason}. |
404 |
The requested resource does not exist. reason indicates the cause. |
|
TerraformStackNotSupported |
Terraform stack does not support {feature}. |
400 |
The specified feature is not supported by the Terraform stack. feature indicates the feature name. |
|
Terraform stack template does not support {feature}. |
400 |
The specified feature is not supported by the Terraform stack template. feature indicates the feature name. |
|
|
Terraform stack is not supported. |
400 |
The Terraform stack feature is not available. |
|
|
TokenResultReturnedInLastRequest |
The result for token is an error, and was returned in the last request: {response}. |
400 |
The result of a previous request with the same ClientToken was a 5XX error, and that result has already been returned. response indicates the error in JSON format, containing the Code, Message, and HttpStatusCode fields. After the cached 5XX error is returned once or twice, subsequent requests with the same ClientToken return this error instead. |
|
InvalidResourceType |
Invalid resource type {name}. |
400 |
The specified resource type is invalid. name indicates the type name. |
|
Invalid resource type {name} of parameter {path}. |
400 |
The specified resource type is invalid. name indicates the type name, and path indicates the parameter path. |
|
|
Invalid {entity_type} ({name}). |
400 |
The specified resource type is invalid. entity_type indicates the entity type and name indicates the type name. |
|
|
Invalid version {version} of {entity_type} ({name}). |
400 |
The specified resource type version is invalid. version indicates the version ID, entity_type indicates the entity type, and name indicates the type name. |
|
|
ResourceTypeBeingProcessed |
{entity_type} ({name}) is being processed, retry later. |
400 |
The specified resource type is currently being processed. Try again later. entity_type indicates the entity type and name indicates the type name. |
Server error codes
|
Error code |
Error message |
HTTP status code |
Description |
|
InternalError |
Server error. |
500 |
An internal server error occurred. |
|
ServiceUnavailable |
The request has failed due to a temporary failure of the server. |
503 |
The server is temporarily unavailable. Try again later. If the issue persists, submit a ticket. |