Common error codes include client error codes and server error codes.

Client errors

Error code Error message HTTP status code Description
UnknownError The request processing has failed due to some unknown error. 400 The error message returned because an unknown error that is not caused by a server-side issue has occurred on the client.
MissingParameter The input parameter {name} should be specified. 400 The error message returned because the input parameter is missing. name indicates the parameter name.
One of the input parameters {names} should be specified. 400 The error message returned because the input parameter is missing. You must specify one of the input parameters. names indicates the names of all the related parameters.
The input parameter {name} should be specified, {reason}. 400 The error message returned because the input parameter is missing. name indicates the parameter name, and reason indicates the specific reason.
InvalidParameter The specified parameter {name} is invalid. 400 The error message returned because the specified parameter is invalid. name indicates the parameter name.
The specified parameter {name} is invalid, {reason}. 400 The error message returned because the specified parameter is invalid. name indicates the parameter name, and reason indicates the specific reason.
MultipleParameter Only one of the input parameters {names} can be specified. 400 The error message returned because the number of specified parameters exceeds the limit. You can specify only one of the parameters. names indicates the names of all the related parameters.
InvalidIdempotenceParameter The specified parameters are different from before. 400 The error message returned because the idempotent token is the same, but the specified parameters are different from before.
LastTokenProcessing The last token request is processing. 400 The error message returned because the previous token request is being processed. Try again later.
Invalid Data supplied was not valid: {reason}. 400 The error message returned because the value is invalid. reason indicates the specific reason.
InvalidValue {reason}. 400 The error message returned because the value is invalid. reason indicates the specific reason.
RequestLimitExceeded Request limit exceeded: {reason}. 400 The error message returned because the request contains content that exceeds the limit. reason indicates the specific reason. You can change the part of content that exceeds the limit by adjusting the quota.
NotSupported {feature} is not supported. 400 The error message returned because a specified feature is not supported. feature indicates the specific feature or operation.
MismatchNextToken {name} mismatches next token. 400 The error message returned because the specified parameter does not match the next token. name indicates the parameter name.
AssumeRoleFailure Fail to assume role {name}: {reason} 400 The error message returned because ROS has failed to obtain a temporary identity to assume the specified RAM role. name indicates the RAM role name, and reason indicates the specific reason for the failure.
Forbidden You are not authorized to complete this action. 403 The error message returned because you are not authorized to complete this action.
A required authorization for the specified action {api} is not supplied. Code: {code} RequestId: {request_id} 403 The error message returned because you have not authorized ROS to call the operation. api indicates the name of the operation. code indicates the error code. request_id indicates the ID of the request.
AccountTypeNotSupported Account type not supported. 403 The error message returned because the specified account type is not supported.
NotFound {reason}. 404 The error message returned because the request contains content that does not exist. reason indicates the specific reason.
TerraformStackNotSupported Terraform stack does not support {feature}. 400 The error message returned because a feature is not supported by the Terraform stack. feature indicates the specific feature.
Terraform stack template does not support {feature}. 400 The error message returned because a feature is not supported by the Terraform stack template. feature indicates the specific feature.
Terraform stack is not supported. 400 The error message returned because a feature of the Terraform stack is not available to the user.

Server errors

Error code Error message HTTP status code Description
InternalError Server error. 500 The error message returned because an internal error has occurred.
ServiceUnavailable The request has failed due to a temporary failure of the server. 503 The error message returned because a server error has occurred. Try again later. If the problem persists, submit a ticket.