HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 17

Table 5 Generic WSAPI, Member Status and Error Codes, Description, API Error Code, API Error

Page 17 highlights

Table 5 Generic WSAPI code Member Status and Error Codes API Error INT_SERV_ERR API Error Code 1 HTTP Code 500 Internal Server Error Description An internal error has occurred in the server. Memory allocation failure. INV_SSL INPUT_EOF INPUT_TOO_LONG INV_USER_PASS INV_SESS_KEY TIMEOUT UNSUP_HTTP UNSUP_OP 2 400 Bad Request An SSL protocol violation has occurred. 3 400 Bad Request The client has not sent a complete request. 4 413 Request Entity The client has sent a Too Large request that is too long. 5 403 Forbidden The username or password is invalid. 6 403 Forbidden The client request has an invalid session key. 7 408 Request The client did not send or Timeout receive data within the time limit. 8 505 HTTP Version The client request uses an Not Supported unsupported HTTP version. 9 501 NOT The resource does not IMPLEMENTED support the operation. 10 (Not used by the HP 3PAR OS.) URI_RES_NOT_FOUND PERM_DENIED NON_EXISTENT_HOST TOO_LARGE OTHER 11 404 Not Found The requested resource does not exist. 13 403 Forbidden Permission denied, insufficient privileges. 17 404 Not Found The host does not exist. 28 400 Bad Request The client request contains a value that is too large. 29 400 Bad Request A more specific error could not be determined. An operation that fails with the error OTHER will probably be assigned a more specific error code in a future version of the API. Client code that checks for specific error codes should treat an unrecognized code the same as OTHER, so an unchanged client will behave the same in the future even if the error code is changed to a new (and more specific) error code. 30 (Not used.) HTTP Status and Error Codes 17

  • 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 5 Generic WSAPI
code
Member Status and Error Codes
Description
HTTP Code
API Error Code
API Error
An internal error has
occurred in the server.
500 Internal
Server Error
1
INT_SERV_ERR
Memory allocation failure.
An SSL protocol violation
has occurred.
400 Bad Request
2
INV_SSL
The client has not sent a
complete request.
400 Bad Request
3
INPUT_EOF
The client has sent a
request that is too long.
413 Request Entity
Too Large
4
INPUT_TOO_LONG
The username or
password is invalid.
403 Forbidden
5
INV_USER_PASS
The client request has an
invalid session key.
403 Forbidden
6
INV_SESS_KEY
The client did not send or
receive data within the
time limit.
408 Request
Timeout
7
TIMEOUT
The client request uses an
unsupported HTTP version.
505 HTTP Version
Not Supported
8
UNSUP_HTTP
The resource does not
support the operation.
501 NOT
IMPLEMENTED
9
UNSUP_OP
(Not used by the HP 3PAR
OS.)
10
The requested resource
does not exist.
404 Not Found
11
URI_RES_NOT_FOUND
Permission denied,
insufficient privileges.
403 Forbidden
13
PERM_DENIED
The host does not exist.
404 Not Found
17
NON_EXISTENT_HOST
The client request contains
a value that is too large.
400 Bad Request
28
TOO_LARGE
A more specific error
could not be determined.
400 Bad Request
29
OTHER
An operation that fails
with the error
OTHER
will
probably be assigned a
more specific error code
in a future version of the
API.
Client code that checks for
specific error codes
should treat an
unrecognized code the
same as
OTHER
, so an
unchanged client will
behave the same in the
future even if the error
code is changed to a new
(and more specific) error
code.
(Not used.)
30
HTTP Status and Error Codes
17