HTTP status codes

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The REST API uses the following standard HTTP status codes to indicate the processing results.

Status codes

Description

200

Success

The request has been processed properly. Even if the number of results obtained is 0 in a request to get information, this status code will be returned.

202

Accepted

The request for asynchronous processing has been accepted.

400

Bad request

The request header, the query parameter, or the request body is invalid.

401

Unauthorized

The Authorization header is not specified in the request header. Alternatively, authentication using the information specified in the Authorization header has failed.

403

Forbidden

You do not have the permission required to perform the operation.

404

Not found

The resource specified by the URL is not found. Alternatively, you do not have read permission for the resource.

405

Method not allowed

The specified method is not allowed for the resource specified by the URL.

406

Not acceptable

The media type specified in the Accept header is not supported.

409

Conflict

A request is made to change the status of the resource specified by the URL, in a way that the change might cause conflicts or be impossible.

Example: A request is made to create one resource that has the same ID as another resource that has already been created.

411

Length Required

The Content-Length header must be specified.

412

Precondition failed

The conditions for running the API request are not met.

415

Unsupported media type

The media type specified in the Content-Type header is not supported.

417

Expectation Failed

The specified Expect header is invalid, or the Expect header is not supported by the web server (For VSP E series, VSP G350, G370, G700, G900, VSP F350, F370, F700, F900).

500

Server error

An internal error has occurred in the REST API server or the storage system that is the operation target.

502

Proxy Error

There is no response from the REST API server.

503

Service unavailable

The request cannot be accepted, because the REST API server or the storage system is busy.

If this status code is returned, run the request again.

API-specific information about status codes is explained in the sections on the specific APIs.