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. For information on the HTTP status codes returned in response to specific requests, see the individual request descriptions Working with containers and Working with objects.
Error code | Description | HTTP Status Code |
---|---|---|
304 |
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. |
Not modified |
401 | Token Expired. Token Invalid. No Token Provided. | Unauthorized |
403 | Authenticated user does not have permission to perform requested operation. | Forbidden |
404 | The resource identified in the URL could not be found on the server. | Not Found |
405 | The HTTP method is not supported | Method Not Allowed |
412 |
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. |
Precondition Failed |
© 2017 Hitachi Data Systems Corporation. All rights reserved.