Core
API v2.x
2

0x03: network #

Subdomain: 0x0301: http #

id / code class / status message description
network.http.request_too_large
0x03010001
SizeLimitError
(413)
Maximum HTTP request size exceeded. The size of the request exceeds the server configured limit
network.http.unexpected_error
0x03010002
BadRequestError
(400)
Caught an unexpected HTTP error: %s Caught an unexpected HTTP parsing error
network.http.too_many_encodings
0x03010003
BadRequestError
(400)
Too many encodings. The number of encodings exceeds the server configured limit
network.http.unsupported_compression
0x03010004
BadRequestError
(400)
Unsupported compression algorithm "%s". The request has been compressed using an unsupported compression algorithm
network.http.compression_disabled
0x03010005
BadRequestError
(400)
Compression support is disabled. The server has been configured to refuse compressed requests
network.http.unsupported_verb
0x03010006
BadRequestError
(400)
Unsupported HTTP verb "%s". An HTTP request has been submitted using an unsupported verb
network.http.url_not_found
0x03010007
NotFoundError
(404)
API URL not found: %s. API URL not found
network.http.unsupported_content
0x03010008
BadRequestError
(400)
Invalid request content-type. Expected "application/json", got: "%s". The content described in the content-type header is not supported
network.http.unsupported_charset
0x03010009
BadRequestError
(400)
Unsupported request charset. Expected "utf-8", got: "%s". Unsupported content charset
network.http.duplicate_url
0x0301000a
InternalError
(500)
Unable to attach URL %s: this path already exists. Triggered when an attempt is made to register a duplicate URL in the HTTP router
network.http.volatile_parse_failed
0x0301000b
BadRequestError
(400)
Unable to convert the "x-kuzzle-volatile" HTTP header to JSON: %s The x-kuzzle-volatile header received is not in JSON format
network.http.body_parse_failed
0x0301000c
BadRequestError
(400)
Unable to convert the HTTP body to JSON: %s The request body is not in JSON format
network.http.file_too_large
0x0301000d
SizeLimitError
(413)
Maximum HTTP file size exceeded The submitted file exceeds the server configured limit
network.http.stream_closed
0x0301000e
InternalError
(500)
Stream closed or destroyed. The stream has been closed or destroyed before sending the response
network.http.stream_errored
0x0301000f
InternalError
(500)
Stream errored: %s The stream is errored

Subdomain: 0x0302: mqtt #

id / code class / status message description
network.mqtt.unexpected_error
0x03020001
BadRequestError
(400)
Caught an unexpected MQTT error: %s Caught an unexpected MQTT error

Subdomain: 0x0303: websocket #

id / code class / status message description
network.websocket.unexpected_error
0x03030001
BadRequestError
(400)
Caught an unexpected WebSocket error: %s Caught an unexpected WebSocket error
network.websocket.ratelimit_exceeded
0x03030002
TooManyRequestsError
(429)
Rejected: too many requests received from that socket Too many requests received from a client socket

Subdomain: 0x0304: entrypoint #

id / code class / status message description
network.entrypoint.unexpected_event
0x03040001
InternalError
(500)
Unexpected event received: %s. Received an erroneous network event
network.entrypoint.invalid_port
0x03040002
InternalError
(500)
Invalid network port number: %s. Invalid network port
network.entrypoint.shutting_down
0x03040003
ServiceUnavailableError
(503)
Rejected: instance is shutting down Request rejected because this instance is shutting down