Table 5 Generic WSAPI code Member Status and Error Codes (continued)
DescriptionHTTP CodeAPI Error CodeAPI Error
The server has reached its
maximum number of
connections.
503 Service
Unavailable
31SVC_UNAVAIL
The resource is in use.409 Conflict34IN_USE
The representation
specified in client's HTTP
406 Not Acceptable35UNSUP_REPRESENTATION
Accept header is not
supported.
The language specified in
client's HTTP
406 Not Acceptable36UNSUP_LANGUAGE
Accept-Language
header is not supported.
The domain does not
exist.
404 Not Found38NON_EXISTENT_DOMAIN
A JSON input object
contains a name-value
400 Bad Request39INV_INPUT_WRONG_TYPE
pair where the type of the
value differs from what is
expected (e.g. a number
is found where a string is
expected). The HTTP ref
member contains the
name of the name-value
pair.
A JSON input object is
missing a required
400 Bad Request40INV_INPUT_MISSING_REQUIRED
name-value pair. The
HTTP ref member
contains the expected
name.
Unsupported content (e.g.,
as specified in the HTTP
Content-Type header).
415 Unsupported
Media Type
51UNSUP_CONTENT
A JSON object was
expected but another
JSON type was found.
400 Bad Request52INV_INPUT_NOT_JSON_OBJ
Invalid URL percent
encoding.
400 Bad Request56INV_URL_PERCENT_ENCODING
Invalid input: string length
exceeds limit.
400 Bad Request57INV_INPUT_EXCEEDS_LENGTH
JSON syntax error. When
the error is associated
400 Bad Request60JSON_SYNTAX_ERR
with an object member,
the HTTP ref member
contains the name of the
member.
Too many levels of nesting
in JSON; numbers too
400 Bad Request61JSON_NOT_SUPPORTED
large to be represented;
length restrictions
exceeded. When the error
is associated with an
object member, the HTTP
18 Accessing the WSAPI