Error codes
Every error response body contains an HTTP status code and a description that provides more information about the error. The error codes themselves can be found with the response header. A single HTTP status code can correspond to multiple error codes.
The table below describes the error codes that can be returned in response to HSwift requests.
Error code | HTTP status code | Description |
304 | Not modified |
One of:
|
401 | Unauthorized | Token Expired. Token Invalid. No Token Provided. |
403 | Forbidden | Authenticated user does not have permission to perform requested operation. |
404 | Not Found | The resource identified in the URL could not be found on the server. |
405 | Method Not Allowed | The HTTP method is not supported |
412 | Precondition Failed |
One of:
|
500 | Not Implemented |
An internal error occurred. If this error persists, contact your tenant administrator. |
503 | Service Unavailable |
HCP is temporarily unable to handle the request, probably due to system overload, maintenance, or upgrade. Try the request again, gradually increasing the delay between each successive attempt. If this error persists, contact your tenant administrator. |