HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 24

The desc Member, Examples

Page 24 highlights

Table 6 Operation-specific API code Member Status and Error Codes (continued) API Error API Error Code INV_OPERATION_VV_VOLUME_ACCOUNTING_IN_PROGRESS 90 HTTP Code 409 Conflict Description Invalid operation. Volume accounting is in progress. (Since WSAPI 1.2) INV_OPERATION_VV_ZERO_DETECT_TPVV 91 403 Forbidden Invalid operation. Zero detect policy on TPVV. (Since WSAPI 1.2) INV_OPERATION_CPG_RAID0_DISABLED 92 403 Forbidden Invalid operation. RAID-0 must be enabled. (Since WSAPI 1.2) INV_OPERATION_CPG_RAID5_NL_DISABLED 93 403 Forbidden Invalid operation. RAID-5 on NL drives must be enabled. (Since WSAPI 1.2) INV_OPERATION_GROW_SIZE_TOO_SMALL 94 404 Bad Request CPG grow size is too small. (Since WSAPI 1.2) INV_OPERATION_VV_CPG_ON_SNAPSHOT 96 INV_OPERATION_VLUN_PCOPY_TARGET_VV 97 INV_INPUT_DUP_PATH 98 LUN_HOSTPERSONA_CONFLICT 99 409 Conflict CPG cannot be assigned to a snapshot. 409 Conflict Volume is a target of physical copy. 404 Bad Request Duplicate path specified. 409 Conflict LUN number and persona capability conflict. The desc Member The desc member provides supplementary information that helps explain the reason for the error code. NOTE: The text in the desc member is subject to change between releases. HP recommends avoiding parsing the desc member and using it only for display purposes. For example, the desc member for an error may change from No snap CPG specified in one storage system version to Error: The volume must have a snap CPG in another version. The associated WSAPI error code will not change. Examples Examples of desc are: {"code":28,"desc":"client request contains values that are too large"} {"code":24,"desc":"insufficient space for requested operation"} 24 Accessing the WSAPI

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

Table 6 Operation-specific API
code
Member Status and Error Codes
(continued)
Description
HTTP Code
API Error Code
API Error
Invalid operation.
Volume accounting is
in progress.
409 Conflict
90
INV_OPERATION_VV_VOLUME_ACCOUNTING_IN_PROGRESS
(Since WSAPI 1.2)
Invalid operation.
Zero detect policy on
TPVV.
403 Forbidden
91
INV_OPERATION_VV_ZERO_DETECT_TPVV
(Since WSAPI 1.2)
Invalid operation.
RAID-0 must be
enabled.
403 Forbidden
92
INV_OPERATION_CPG_RAID0_DISABLED
(Since WSAPI 1.2)
Invalid operation.
RAID-5 on NL drives
must be enabled.
403 Forbidden
93
INV_OPERATION_CPG_RAID5_NL_DISABLED
(Since WSAPI 1.2)
CPG grow size is too
small.
404 Bad Request
94
INV_OPERATION_GROW_SIZE_TOO_SMALL
(Since WSAPI 1.2)
CPG cannot be
assigned to a
snapshot.
409 Conflict
96
INV_OPERATION_VV_CPG_ON_SNAPSHOT
Volume is a target of
physical copy.
409 Conflict
97
INV_OPERATION_VLUN_PCOPY_TARGET_VV
Duplicate path
specified.
404 Bad Request
98
INV_INPUT_DUP_PATH
LUN number and
persona capability
conflict.
409 Conflict
99
LUN_HOSTPERSONA_CONFLICT
The
desc
Member
The
desc
member provides supplementary information that helps explain the reason for the error
code.
NOTE:
The text in the
desc
member is subject to change between releases.
HP recommends avoiding parsing the
desc
member and using it only for display purposes.
For example, the
desc
member for an error may change from
No snap CPG specified
in
one storage system version to
Error: The volume must have a snap CPG
in another
version. The associated WSAPI error code will not change.
Examples
Examples of
desc
are:
{"code":28,"desc":"client request contains values that are too large
}
{"code":24,"desc":"insufficient space for requested operation"}
24
Accessing the WSAPI