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 codeHTTP status codeDescription
304Not modified

One of:

  • The request included an If-None-Match header, and the ETag for the specified object matched a value specified by the header.
  • The request included an If-Modified-Since header, and the specified object was not modified after the date and time specified by the header.
401UnauthorizedToken Expired. Token Invalid. No Token Provided.
403ForbiddenAuthenticated user does not have permission to perform requested operation.
404Not FoundThe resource identified in the URL could not be found on the server.
405Method Not AllowedThe HTTP method is not supported
412Precondition Failed

One of:

  • The request included an If-Match header, and the ETag for the specified object doesn't not match any of the values specified by the header.
  • The request included an If-Unmodified-Since header, and the specified object was modified after the date and time specified by the header.
500Not Implemented

An internal error occurred.

If this error persists, contact your tenant administrator.

503Service 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.