Atom feed of this document
 
 
 

 3.10. Faults

When an error occurs the system returns an HTTP error response code denoting the type of error and additional information in the fault response body.

The following examples show the XML and JSON response body for a 404 notFoundError:

 

Example 3.12. XML Not Found Fault

<?xml version="1.0" encoding="UTF-8"?>
<fault><type>notFoundError</type><code>404</code><message>Item not found.<message><details>Error Details...</details>
</fault>


 

Example 3.13. JSON Not Found Fault

{
    "type": "notFoundError",
    "code": "404",
    "message": "Item not found.",
    "details": "Error Details..."
}


The following table contains the possible fault types along with their associated error code and description.

Table 3.3. Fault and Error Code Descriptions
Fault ElementAssociated Error CodesDescription
badRequest400The system received an invalid value in a request
requiredNotFoundError400A required related object is not found in the system.
invalidLimit400Invalid limit has been specified.
childrenExistError400The system cannot perform the requested operation due to remaining child objects. Details attribute also contains a "type" field which specified a type of the existing child object.
alarmParseError400Alarm criteria cannot be parsed. Details attribute also contains the following fields: input, error_position, error_line, error_column, error_token, message.
invalidKeyPrefix400Provided key prefix is invalid.
agentNotConnected400Agent Not Connected
limitReached400Limit has been reached. Please contact cmbeta@rackspace.com to increase your limit.
rateLimitReached400Rate limit has been reached. Please wait before trying again.
indexCardinalityConstraintViolation400A resource with the specified index already exists in the system.
unauthorizedError401The system received a request from a user that is not authenticated.
forbiddenError403The system received a request that the user is forbidden to make.
missingCapabilitiesError403The system received a request that the user is not authorized to make.
agentFeatureError403The agent feature is not enabled for this account. Please fill out the survey if you are interested in a preview of this feature: https://surveys.rackspace.com/Survey.aspx?s=54781787ae8f40d5ad81f8eae1e3ace9
notFoundError404The URL requested is not found in the system.
parentNotFoundError404The parent node requested is not found in the system.
checkDoesNotSupportTargets404The check type does not support targets.
requestTimeout408The system has timed out. Please attempt the request again.
requestTooLargeError413The response body is too large.
internalError500The system suffered an internal failure.
notImplementedError501The request is for a feature that has not yet been implemented.
systemFailureError503The system is experiencing heavy load or another system failure.


loading table of contents...