Rackspace Ticketing API returns an HTTP code that denotes the type of response.
- Successful response codes are returned only if all configured providers were successful in processing the request.
- Error response codes are accompanied by an
application/json
response body that contains the error messages.
This API uses standard HTTP 1.1 response codes.
The following table lists possible responses with their associated codes and descriptions.
Response | Response code | Description |
---|---|---|
OK | 200 | The request has succeeded. Some API calls return 201 instead. |
Created | 201 | The request has succeeded. Some API calls return 200 instead. |
No content | 204 | The request has been fulfilled but does not return a representation (that is, the response is empty). |
Bad request | 400 | The request was not understood or was missing required parameters. |
Unauthorized | 401 | Authentication failed, or the user does not have permissions for a requested operation. |
Forbidden | 403 | The server understood the request but refused to fulfill it. |
Not found | 404 | A requested resource was not found. |
Method not allowed | 405 | The request method is not supported for this resource. |
Too many requests | 429 | Too many requests have been sent in a given amount of time. Pause requests, wait up to one minute, and try again. Intended for use with rate limiting. |
Internal Server Error | 500 | The service encountered an unexpected condition that prevented it from fulfilling the request. |
Service Unavailable | 503 | The service is temporarily unavailable, for example, for scheduled platform maintenance. Try again later. |
Example: Error message example
HTTP/1.1 400 Bad Request
Content-Type: application/json
{
"status": 400,
"message": "Category provided is invalid",
"faultCode": "badRequest",
"moreInfo": "docs/ticketing/general-api-info/faults/#badRequest"
}