HP 3PAR Web Service API 1.3.1 Developer's Guide
Table 5 Generic WSAPI code Member Status and Error Codes (continued)
DescriptionHTTP CodeAPI Error CodeAPI Error
has returned an
unexpected error,
preventing the API server
from fulfilling the request.
(Since WSAPI 1.2)
Invalid input:
All-white-spaces string.
400 Bad Request182INV_INPUT_ALL_WHITE_SPACES_STR
(Since WSAPI 1.3.1 with
HP 3PAR OS 3.1.3 MU1)
The HTTP Host header is
empty or missing.
404 Bad Request186EMPTY_HTTP_HOST_HDR
Operation-specific status and error codes for the WSAPI are described in Table 6 (page 25).
Table 6 Operation-specific API code Member Status and Error Codes
DescriptionHTTP CodeAPI Error CodeAPI Error
The client request
contains an invalid
value.
400 Bad Request12INV_INPUT
The CPG already
exists.
409 Conflict14EXISTENT_CPG
The CPG does not
exist.
404 Not Found15NON_EXISTENT_CPG
The host already
exists.
409 Conflict16EXISTENT_HOST
The VLUN already
exists.
409 Conflict18EXISTENT_LUN
The VLUN does not
exist.
404 Not Found19NON_EXISTENT_VLUN
The port does not
exist.
404 Not Found20NON_EXISTENT_PORT
Attempt to create
VLUN with invalid
port type.
400 Bad Request21BAD_PORT_TYPE
The storage volume
already exists.
409 Conflict22EXISTENT_VOL
The storage volume
does not exist.
404 Not Found23NON_EXISTENT_VOL
Volume not found.
Not enough space is
available for the
400 Bad Request24NO_SPACE
operation. This varies
based on the
following
circumstances:
• In volume
creation, when
the CPG contains
insufficient space
Protocol and Message Format 25