CPG Creation Errors
If an error occurs, the system returns one of the error codes shown in Table 19 (page 34), or a
general error code listed in “Generic WSAPI code Member Status and Error Codes” (page 17):
Table 19 CPG Creation and Modification Error Codes
DescriptionHTTP CodeAPI Error
A pattern in a CPG LDLayout specifies
illegal values.
400 Bad RequestBAD_CPG_PATTERN
Snap CPG is not in the same domain
as the user CPG.
403 ForbiddenCPG_NOT_IN_SAME_DOMAIN
(Since WSAPI 1.2)
CPG already exists.409 ConflictEXISTENT_CPG
The CPG cannot be removed because
it is in use by a volume.
409 ConflictIN_USE
Missing CPG name.400 Bad RequestINV_INPUT
Invalid input: string length exceeds
limit.
400 Bad RequestINV_INPUT_EXCEEDS_LENGTH
Invalid input: number exceeds
expected range.
400 Bad RequestINV_INPUT_EXCEEDS_RANGE
CPG grow size is too small400 Bad RequestINV_OPERATION_GROW_SIZE_TOO_SMALL
(Since WSAPI 1.2)
Input contains one or more illegal
characters.
400 Bad RequestINV_INPUT_ILLEGAL_CHAR
No valid CPG update operation
found.
400 Bad RequestINV_INPUT_MISSING_REQUIRED
The allocation warning level is higher
than the allocation limit.
400 Bad RequestINV_INPUT_WARN_GT_LIMIT
Invalid operation. RAID-0 must be
enabled.
403 ForbiddenINV_OPERATION_CPG_RAID0_DISABLED
(Since WSAPI 1.2)
Invalid operation. RAID-5 on NL drives
must be enabled.
403 ForbiddenINV_OPERATION_CPG_RAID5_NL_DISABLED
(Since WSAPI 1.2)
The set size is invalid for the selected
RAID type.
400 Bad RequestINV_SET_SIZE
Insufficient space for requested
operation.
400 Bad RequestNO_SPACE
The CPG does not exist.404 Not FoundNON_EXISTENT_CPG
This error applies only to CPG
modification, not creation.
Domain does not exist.404 Not FoundNON_EXISTENT_DOMAIN
Modifying a CPG
To modify a CPG, use the HTTP PUT method in the URI:
https://<storage system>:8080/api/v1/cpgs/<cpg name>
with message body members as shown in Table 18 (page 33) and Table 20 (page 35).
34 Working with Common Provisioning Groups